couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: svn commit: r789884 - /couchdb/trunk/src/couchdb/couch_stats_aggregator.erl
Date Wed, 01 Jul 2009 12:20:30 GMT

On 30 Jun 2009, at 21:15, kocolosk@apache.org wrote:

> 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

Good catch. Do we want to merge that into 0.9.1?

Cheers
Jan
--


>
> 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