mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 19:32:56 +00:00
fix reseed checking at startup, broken in previous checkin
This commit is contained in:
1 parent
0a938d9048
commit
285c13d900
1 file changed
+2
-1
@@ -364,11 +364,12 @@ class PersistentDataStore extends TransientDataStore {
|
||||
}
|
||||
if (shouldScan) {
|
||||
_log.info("Rereading new files");
|
||||
_lastModified = now;
|
||||
// synch with the writer job
|
||||
synchronized (_dbDir) {
|
||||
// _lastModified must be 0 for the first run
|
||||
readFiles();
|
||||
}
|
||||
_lastModified = now;
|
||||
}
|
||||
requeue(READ_DELAY);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user