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

Apparent output-buffering issues #4

Open
okdana opened this issue May 2, 2020 · 0 comments
Open

Apparent output-buffering issues #4

okdana opened this issue May 2, 2020 · 0 comments
Labels

Comments

@okdana
Copy link
Owner

okdana commented May 2, 2020

Sometimes, usually when checking a very large number of files with many worker threads, you can get weird outputs like this:

...
P 1234:1234 5678:5678 foo/bar/file1.mp3
P 1234:1234 5678:5678 foo/bar/file3.mp3

P 1234:1234 5678:5678 foo/bar/file4.mp3
P 1234:1234 5678:5678 
P 1234:1234 5678:5678 foo/bar/file5.mp3
foo/bar/file2.mp3
...

The extraneous new-line and the split-apart result for file2.mp3 are apparently the result of output-buffering issues. I think just flushing after each result should fix it. The logger should support this

@okdana okdana added the Defect label May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant