Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove disk_partitions() maxfile and maxpath fields #2405

Merged
merged 3 commits into from Apr 17, 2024

Conversation

giampaolo
Copy link
Owner

Summary

  • OS: all
  • Bug fix: yes
  • Type: core, performance
  • Fixes: 2109

Description

Removes maxfile and maxpath fields from the namedtuple returned by disk_partitions(). Reason: if there's a NFS (network filesystem) this function can potentially take a long time to complete.

@giampaolo giampaolo changed the title 2109 rm slow disk partitions stats Remove disk_partitions() maxfile and maxpath fields Apr 17, 2024
@giampaolo giampaolo merged commit b6281c4 into master Apr 17, 2024
22 of 25 checks passed
@giampaolo giampaolo deleted the 2109-rm-slow-disk-partitions-stats branch April 17, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant