You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolved incorrect pacing and stop condition handling in the Scheduler
class.
- Replaced inaccurate duration checks with explicit `_start_time`
tracking.
- Introduced `_time_remaining()` and `_available_sleep_window()` for
precise timing.
- Refactored sleep logic into `_pace()` to account for task duration.
- Ensured scheduler stops exactly when configured `duration` is reached.
- Improved logging clarity and added test correction for edge timing
behavior.
Signed-off-by: cyiallou - Costas <[email protected]>
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,3 +15,4 @@
15
15
## Bug Fixes
16
16
17
17
- Updated the Solar Maintenance notebook to fix the expected environment variable name for the reporting server url.
18
+
- Fixed a bug in the notification `Scheduler` where tasks could overrun the configured duration due to imprecise sleep and stop logic. The scheduler now correctly tracks elapsed time, respects task execution duration, and stops reliably after the intended interval.
0 commit comments