Permalink
Browse files

Update lib/graphite/client.rb

Make client send less than every 60s, to minimize potential for imprecise with server's 60s condensing.
  • Loading branch information...
shock committed Nov 13, 2012
1 parent 9063ba8 commit 33a04484a954e8172832995c787d16ca5d6809c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/graphite/client.rb
View
@@ -110,7 +110,7 @@ def send_shifts
end
def start_logger_timer
- @scheduler.every("60s", :blocking => true) do
+ @scheduler.every("58s", :blocking => true) do
send_metrics
end
end

0 comments on commit 33a0448

Please sign in to comment.