Author: toad
Date: 2008-04-14 15:55:20 +0000 (Mon, 14 Apr 2008)
New Revision: 19325
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1139: Ignore nodes which have less than 40% uptime when calculating whether we
are a sink for a given piece of inserted data, and therefore whether to put it
in the (long-term storage) store as well as the cache. This is an anti-slashdot
feature: when we were last slashdotted, data inserted was lost because lots of
nodes joined, stored data, and then uninstalled... hopefully this will fix that.
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2008-04-14 15:52:44 UTC (rev
19324)
+++ trunk/freenet/src/freenet/node/Version.java 2008-04-14 15:55:20 UTC (rev
19325)
@@ -24,17 +24,17 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1138;
+ private static final int buildNumber = 1139;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1135;
- private static final int newLastGoodBuild = 1138;
+ private static final int oldLastGoodBuild = 1138;
+ private static final int newLastGoodBuild = 1139;
static final long transitionTime;
static {
final Calendar _cal =
Calendar.getInstance(TimeZone.getTimeZone("GMT"));
// year, month - 1 (or constant), day, hour, minute, second
- _cal.set( 2008, Calendar.APRIL, 13, 0, 0, 0 );
+ _cal.set( 2008, Calendar.APRIL, 16, 0, 0, 0 );
transitionTime = _cal.getTimeInMillis();
}