-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
108: Attempt to fix "remaining burst capacity" when time moves r=antifuchs a=antifuchs This is a stab at addressing #102. This adds a "time of measurement" field to the StateSnapshot struct, which allows correct computation of the remaining burst capacity. This PR was previously blocked by a mysterious test failure on my M1 mac, which I'm pretty sure was related #114. After rebasing to latest master, this passes its own tests and looks plausible enough to release. Co-authored-by: Andreas Fuchs <asf@boinkor.net>
- Loading branch information
Showing
3 changed files
with
68 additions
and
22 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
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