Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffkaufman committed Feb 8, 2021
1 parent 8e0ce82 commit a49c930
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions html/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2004,6 +2004,9 @@ function do_latency_calibration() {
}, 20*1000);
}

// XXX this is way too complicated for the algorithm I ended up
// implementing. Instead we should just track how long ago the most
// recent underflow was.
const healthHistory = [];
const HEALTH_HISTORY_LENGTHS = [
2,
Expand Down

0 comments on commit a49c930

Please sign in to comment.