Initialized ImportingJob.lastTouched

Prevents the CleaningTimerTask from disposing newly created
ImportingJobs which have not yet been touched.
This commit is contained in:
Frank Wennerdahl 2014-02-19 16:02:45 +01:00
parent ae56e98522
commit 8c02a13429

View File

@ -76,6 +76,8 @@ public class ImportingJob implements Jsonizable {
JSONUtilities.safePut(cfg, "hasData", false);
this.config = cfg;
lastTouched = System.currentTimeMillis();
dir.mkdirs();
}