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

Add verbose messages when waiting for a file #296

Open
stvdwtt opened this issue Jun 21, 2024 · 1 comment
Open

Add verbose messages when waiting for a file #296

stvdwtt opened this issue Jun 21, 2024 · 1 comment
Assignees

Comments

@stvdwtt
Copy link
Collaborator

stvdwtt commented Jun 21, 2024

We should (at least optionally) print a message to the screen when the code is waiting for a file (or a file like the scan path to update). I think the option to add a message is already there, but unused.

Currently it is hard to tell the difference between an expected hang waiting for a file, an unexpected hang, and the code moving along.

@stvdwtt stvdwtt self-assigned this Jun 21, 2024
@Rombur
Copy link
Member

Rombur commented Jun 24, 2024

We print a message but only when the counter overflows which takes a long time. If you change the initial value of the counter to zero here and here, we will print the message as soon as we are waiting. When I wrote the code, I was expecting the counter to overflow much faster than what it does in practice.

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

No branches or pull requests

2 participants