Changeset 285c13d


Ignore:
Timestamp:
Jan 7, 2015 11:15:10 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
65348b23
Parents:
0a938d90
Message:

fix reseed checking at startup, broken in previous checkin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/networkdb/kademlia/PersistentDataStore.java

    r0a938d90 r285c13d  
    365365            if (shouldScan) {
    366366                _log.info("Rereading new files");
    367                 _lastModified = now;
    368367                // synch with the writer job
    369368                synchronized (_dbDir) {
     369                    // _lastModified must be 0 for the first run
    370370                    readFiles();
    371371                }
     372                _lastModified = now;
    372373            }
    373374            requeue(READ_DELAY);
Note: See TracChangeset for help on using the changeset viewer.