couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject svn commit: r789884 - /couchdb/trunk/src/couchdb/couch_stats_aggregator.erl
Date Tue, 30 Jun 2009 19:15:54 GMT
Author: kocolosk
Date: Tue Jun 30 19:15:54 2009
New Revision: 789884

URL: http://svn.apache.org/viewvc?rev=789884&view=rev
Log:
correct stat intervals.  Thanks Bob Dionne

Modified:
    couchdb/trunk/src/couchdb/couch_stats_aggregator.erl

Modified: couchdb/trunk/src/couchdb/couch_stats_aggregator.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_stats_aggregator.erl?rev=789884&r1=789883&r2=789884&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_stats_aggregator.erl (original)
+++ couchdb/trunk/src/couchdb/couch_stats_aggregator.erl Tue Jun 30 19:15:54 2009
@@ -355,9 +355,9 @@
     % fifteen minutes) are gone.
 
     {ok, _} = timer:apply_interval(1000, ?MODULE, time_passed, []),
-    {ok, _} = timer:apply_interval(6000, ?MODULE, clear_aggregates, ['60']),
-    {ok, _} = timer:apply_interval(30000, ?MODULE, clear_aggregates, ['300']),
-    {ok, _} = timer:apply_interval(90000, ?MODULE, clear_aggregates, ['900']).
+    {ok, _} = timer:apply_interval(60000, ?MODULE, clear_aggregates, ['60']),
+    {ok, _} = timer:apply_interval(300000, ?MODULE, clear_aggregates, ['300']),
+    {ok, _} = timer:apply_interval(900000, ?MODULE, clear_aggregates, ['900']).
 
 
 % Unused gen_server behaviour API functions that we need to declare.



Mime
View raw message