mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
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