Skip to content

Commit 09faacb

Browse files
committed
Fix bug with event lag monitor
1 parent 6031c57 commit 09faacb

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

pace.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ class EventLagMonitor
419419
samples.push diff
420420

421421
if samples.length > options.eventLag.sampleCount
422-
samples.pop()
422+
samples.shift()
423423

424424
avg = avgAmplitude samples
425425

pace.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)