-
Notifications
You must be signed in to change notification settings - Fork 94
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
make main loop more asynchronous #3495
Comments
(Presumably you mean "asynchronous" there?) |
The Scheduler main loop as it currently stands:
A cursory glance suggests we might be able to run with these groupings: (
At the moment we don't have the best handle on what takes the longest, the main gains would probably be with the DB writes, and DB/FS health check routines. I may do some follow up work to the Main Loop Plugins PR to make all main loop functions asynchronous coroutines and run them through the |
Scratch That!After some whiteboard time I think this is the wrong way of approaching the problem. Will follow-up, probably with a new issue to explain this. |
Converting main-loop functions to coroutines is of very little benefit unless we can break the main-loop lock-step. Superseded by #3498 |
Supersedes #2866
As of #3492 the main loop is a asyncronous coroutine, however, the code is still synchronous.
Identify areas which can be made asyncronous and convert them.
Pull requests welcome!
The text was updated successfully, but these errors were encountered: