summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/oxidized/node/stats.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/node/stats.rb b/lib/oxidized/node/stats.rb
index 9b153ee..cabbab9 100644
--- a/lib/oxidized/node/stats.rb
+++ b/lib/oxidized/node/stats.rb
@@ -45,7 +45,7 @@ module Oxidized
def update_mtime
@mtimes.push Time.now.utc
- @mtimes.shift if @mtimes.size > MAX_STAT
+ @mtimes.shift
end
private