forked from I2P_Developers/i2p.i2p
Profiles: Don't delete old profiles from disk until 90m uptime
This commit is contained in:
@ -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