diff --git a/history.txt b/history.txt index 93e72a3baeeab2de0f66338b19324cc09c941bcb..edac48c2967d47a68f53e37b52dcad777e7ecb31 100644 --- a/history.txt +++ b/history.txt @@ -1,3 +1,7 @@ +2022-09-06 zzz + * NetDB: Fix reseeding when clock is skewed + * SSU2: Don't publish or connect if our MTU becomes too small + 2022-09-04 zzz * SusiDNS: Fix adding to empty address book diff --git a/router/java/src/net/i2p/router/RouterVersion.java b/router/java/src/net/i2p/router/RouterVersion.java index f2424bd3b28398a595d490b4eb6052cc8932af66..707cdcd348b22d99de2bd08247cb35a75ff318a1 100644 --- a/router/java/src/net/i2p/router/RouterVersion.java +++ b/router/java/src/net/i2p/router/RouterVersion.java @@ -18,7 +18,7 @@ public class RouterVersion { /** deprecated */ public final static String ID = "Git"; public final static String VERSION = CoreVersion.VERSION; - public final static long BUILD = 6; + public final static long BUILD = 7; /** for example "-test" */ public final static String EXTRA = ""; diff --git a/router/java/src/net/i2p/router/networkdb/kademlia/PersistentDataStore.java b/router/java/src/net/i2p/router/networkdb/kademlia/PersistentDataStore.java index 6a57e83ffd25c0c5b46a6eba1f22191671f364c5..9e47f55b30a4ab946d0318159066eb307c9f9c93 100644 --- a/router/java/src/net/i2p/router/networkdb/kademlia/PersistentDataStore.java +++ b/router/java/src/net/i2p/router/networkdb/kademlia/PersistentDataStore.java @@ -366,7 +366,7 @@ public class PersistentDataStore extends TransientDataStore { requeue(READ_DELAY); return; } - long now = getContext().clock().now(); + long now = System.currentTimeMillis(); // check directory mod time to save a lot of object churn in scanning all the file names long lastMod = _dbDir.lastModified(); // if size() (= RI + LS) is too low, call anyway to check for reseed