diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2009-06-30 19:15:54 +0000 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2009-06-30 19:15:54 +0000 |
commit | a2a39e30b51cde4b5df6adf32078bad881ebf34c (patch) | |
tree | b09d3c7efad0cedc3c14a157c573843c14bdca91 /src/couchdb | |
parent | 111da624f716217fc9180a75f388a025f3c27d1f (diff) |
correct stat intervals. Thanks Bob Dionne
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@789884 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb')
-rw-r--r-- | src/couchdb/couch_stats_aggregator.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/couchdb/couch_stats_aggregator.erl b/src/couchdb/couch_stats_aggregator.erl index 9aa3e468..821bf60f 100644 --- a/src/couchdb/couch_stats_aggregator.erl +++ b/src/couchdb/couch_stats_aggregator.erl @@ -355,9 +355,9 @@ init_timers() -> % 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. |