Merge pull request #851 from Arcadelia/Job-cleanup-fix
Fixed too frequent job cleanups
This commit is contained in:
commit
cff4507008
@ -110,7 +110,7 @@ public class ImportingManager {
|
|||||||
static private ScheduledExecutorService service;
|
static private ScheduledExecutorService service;
|
||||||
|
|
||||||
final static private long TIMER_PERIOD = 10; // 10 minutes
|
final static private long TIMER_PERIOD = 10; // 10 minutes
|
||||||
final static private long STALE_PERIOD = 60; // 60 minutes
|
final static private long STALE_PERIOD = 60 * 60 * 1000; // 60 minutes in milliseconds
|
||||||
|
|
||||||
static private class CleaningTimerTask implements Runnable {
|
static private class CleaningTimerTask implements Runnable {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user