-
Notifications
You must be signed in to change notification settings - Fork 3
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
Dispatch Managing Actor #54
Commits on Sep 30, 2024
-
Send STOPPED message when duration is reached
Signed-off-by: Mathias L. Baumann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd5bf23 - Browse repository at this point
Copy the full SHA cd5bf23View commit details -
Fix wrong running behaviors with duration=None
* Dispatch.running() was always returning RUNNING for duration None * Dispatch.next_run_after() was made aware that there is no next run for inf. Duration * Dispatch._until() now raises when used with Dispatch.None * Actor: delay marking a Dispatch as deleted, otherwise checks wrongly detect it as no longer running. Signed-off-by: Mathias L. Baumann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 134ddab - Browse repository at this point
Copy the full SHA 134ddabView commit details -
Rewrite internal architecture to be more flexible
The internal scheduling architecture was rewritten: Instead of using one task per dispatch that will start/stop them, we now have a queue of events and a timer that is rescheduled to the earliest next event each time it triggers. Previously we had to do complicated re-scheduling and cancelling of tasks, now we always just update the event in the queue. Signed-off-by: Mathias L. Baumann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4dd7b2b - Browse repository at this point
Copy the full SHA 4dd7b2bView commit details -
A useful actor to help control and manange another actor using dispatches. Signed-off-by: Mathias L. Baumann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b671ed - Browse repository at this point
Copy the full SHA 0b671edView commit details -
DispatchManagingActor: Support starting/stopping of multiple actors
Signed-off-by: Mathias L. Baumann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 432b3cb - Browse repository at this point
Copy the full SHA 432b3cbView commit details -
Fix wrong Dispatch.running() behavior with duration=None
Signed-off-by: Mathias L. Baumann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bcd5c0f - Browse repository at this point
Copy the full SHA bcd5c0fView commit details -
DispatchActor: Update timer correctly after schedule modifications
Signed-off-by: Mathias L. Baumann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 611a4eb - Browse repository at this point
Copy the full SHA 611a4ebView commit details -
Set dependency to latest dispatch-client
Signed-off-by: Mathias L. Baumann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 14d4510 - Browse repository at this point
Copy the full SHA 14d4510View commit details -
Update event_loop to explicitly set scope session
As recommended by the deprecation warning Signed-off-by: Mathias L. Baumann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0287a09 - Browse repository at this point
Copy the full SHA 0287a09View commit details -
Wrap scheduler to tolerate somehow invalid dispatches
Signed-off-by: Mathias L. Baumann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 820dcc3 - Browse repository at this point
Copy the full SHA 820dcc3View commit details -
Add test that notifications are sent at startup
Signed-off-by: Mathias L. Baumann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 039d22e - Browse repository at this point
Copy the full SHA 039d22eView commit details