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

Put state updater into a thread of it's own #157

Open
brokkr opened this issue Jul 27, 2021 · 0 comments
Open

Put state updater into a thread of it's own #157

brokkr opened this issue Jul 27, 2021 · 0 comments
Milestone

Comments

@brokkr
Copy link
Owner

brokkr commented Jul 27, 2021

Currently state is being updated from the outer loop and after all threads have been joined. That holds up the main action and risks loosing updates if script crashes or is Ctrl-C'ed. Status updating belongs in a thread of it's own, so that updates can be written to state.yaml as soon as the threads drop them into state_q.

@brokkr brokkr added this to the 2.0 milestone Jul 27, 2021
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

1 participant