mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-05-14 01:05:12 +00:00
1bfe9d0d42
Speed up initial publish After reading in 500 RIs, PersistentDataStore.ReadJob calls setNetDbReady() which calls publish(), but that fails because netdb.isInitialized() returns false until PersistentDataStore finishes reading in all the RIs. Fix isInitialized() so it will return true before we call setNetDbReady(). Also add a missing check to make sure we don't call setNetDbReady() twice. and a check in setNetDbReady() so we don't call publish() twice.