Platform: Local History can survive for more than 30 days now

This commit is contained in:
Anton Makeev
2014-04-23 09:30:31 +02:00
parent f5e72157d8
commit 152c2307d6
@@ -128,7 +128,7 @@ public class LocalHistoryImpl extends LocalHistory implements ApplicationCompone
public void disposeComponent() {
if (!isInitialized.getAndSet(false)) return;
int period = Registry.intValue("localHistory.daysToKeep") * 1000 * 60 * 60 * 24;
long period = Registry.intValue("localHistory.daysToKeep") * 1000 * 60 * 60 * 24;
VirtualFileManager fm = VirtualFileManager.getInstance();
fm.removeVirtualFileListener(myEventDispatcher);