-
Notifications
You must be signed in to change notification settings - Fork 42
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
Consider adding a progress bar #244
Comments
It would be a little tricky, but you could probably add progressbars to the ThreadPools like the one below:
That would give you a series of progress bars that could help you understand how far along the REST process is going. |
Hmm, if that's tricky, how about adding a "first time stamp read/most recent timestamp read" pair for each thread? (assuming that entries are imported from oldest to newest) |
That would create too much terminal spam. If you like you can open another window and tail the log file:
The -f flag means it will follow the file and keep giving you updates. I can implement a progressbar easily enough, just don't have the time at the moment. I think it would tricky for someone new to Python, but totally doable if you want to tackle it. We can help you with a code review. |
Regarding terminal spam, I've seen many tools that can update their terminal output instead of appending new lines (also seen for progress bars). I have now clue how that works, but that seems like an option that totally wouldn't spam. |
I don't think spam is an accurate word in this context: when run with |
you're totally right, debug output is the totally wrong approach to see IF it's doing something. It just happened to be the only way. That's why I asked for adding some other signs of progress. |
This is of course possible, but I think implementing a progress bar would take about the same amount of effort and would be a more favorable option in my opinion. The transactions would most likely fly by too fast to be of any use. To be clear, I'm totally fine with putting a progress bar in during the transaction processing part, implementing it in |
I'm stuck in
for 30 mins already. And there are no signs on whether it works/is doing something or not.
Looked for some DEBUG output. Managed to enable it. But now I get spammed with lots of megabytes in a single file. At least I know that it's processing something. Still, a progress meter would be nice!
The text was updated successfully, but these errors were encountered: