Skip to content

Commit

Permalink
Fix bug with event lag monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbloom committed Oct 2, 2013
1 parent 6031c57 commit 09faacb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pace.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ class EventLagMonitor
samples.push diff

if samples.length > options.eventLag.sampleCount
samples.pop()
samples.shift()

avg = avgAmplitude samples

Expand Down
2 changes: 1 addition & 1 deletion pace.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 09faacb

Please sign in to comment.