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

Fix retrieval of I/O statistics on BSD systems #394

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

dlax
Copy link
Member

@dlax dlax commented Aug 21, 2023

Fix #393.

The 'chars' field was not used as evidenced by render_iocounter()
implementation in views module. Since this field comes from
read_chars/write_chars returned by psutil.Process.io_counters(), which
is platform-specific, this was causing problems when they were not
available as described in issue dalibo#393.

Fix dalibo#393.
@dlax dlax requested a review from blogh August 21, 2023 10:47
Copy link
Collaborator

@blogh blogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took me a while to understand ...

@dlax dlax merged commit 4540a04 into dalibo:master Aug 21, 2023
3 checks passed
@dlax dlax deleted the iocounters-freebsd branch August 21, 2023 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ValueError after connected
2 participants