let hibernate clean entries

This commit is contained in:
Athou
2014-08-15 15:09:48 +02:00
parent e96cbcb057
commit 823cb03f9b
3 changed files with 2 additions and 23 deletions

View File

@@ -14,14 +14,13 @@ public class OrphansCleanupTask implements ScheduledTask {
@Override
public void run() {
cleaner.cleanEntriesWithoutSubscriptions();
cleaner.cleanFeedsWithoutSubscriptions();
cleaner.cleanContentsWithoutEntries();
}
@Override
public long getInitialDelay() {
return 30;
return 5;
}
@Override