Author: toad
Date: 2008-04-11 18:05:25 +0000 (Fri, 11 Apr 2008)
New Revision: 19196
Modified:
trunk/freenet/src/freenet/node/UptimeEstimator.java
Log:
48*12 not 48*24*12
Modified: trunk/freenet/src/freenet/node/UptimeEstimator.java
===================================================================
--- trunk/freenet/src/freenet/node/UptimeEstimator.java 2008-04-11 17:59:31 UTC
(rev 19195)
+++ trunk/freenet/src/freenet/node/UptimeEstimator.java 2008-04-11 18:05:25 UTC
(rev 19196)
@@ -29,7 +29,7 @@
Ticker ticker;
/** For each 5 minute slot in the last 48 hours, were we online? */
- private boolean[] wasOnline = new boolean[48*24*12];
+ private boolean[] wasOnline = new boolean[48*12];
/** Which slot are we up to? We rotate around the array. Slots before
us are before us,
* slots after us are also before us (it wraps around). */