mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-24 12:53:15 +00:00
Profiles: Don't delete old profiles from disk until 90m uptime
This commit is contained in:
1 file changed
+2
-1
@@ -136,7 +136,8 @@ class PeerManager {
|
||||
try {
|
||||
_log.debug("Periodic profile store start");
|
||||
storeProfiles();
|
||||
_persistenceHelper.deleteOldProfiles(EXPIRE_AGE);
|
||||
if (shouldDecay)
|
||||
_persistenceHelper.deleteOldProfiles(EXPIRE_AGE);
|
||||
_log.debug("Periodic profile store end");
|
||||
} catch (Throwable t) {
|
||||
_log.log(Log.CRIT, "Error storing profiles", t);
|
||||
|
||||
Reference in new issue
Block a user