-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the timing inside on-off server cluster more accurate (#21755)
* Make the timing inside on-off server cluster more accurate by compensating the latency between scheduling and firing a timer callback * debug output line removed * even simpler: nextDesiredOnWithTimedOffTimestamp reflects the desired time stamp for the next state machine step. This variable gets adjusted by UPDATE_TIME_MS and the wait time gets calculated by UPDATE_TIME_MS - last latency * Fixing style Co-authored-by: Justin Wood <[email protected]>
- Loading branch information
1 parent
608b143
commit 99fdd84
Showing
2 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters