core (disco): disco hashes are now stored in database to avoid doing the same disco request on next load
This commit is contained in:
parent
621f72ec1c
commit
95ad000f62
1 changed files with 42 additions and 2 deletions
|
|
@ -246,6 +246,7 @@ class Memory(object):
|
|||
d = self.storage.initialized.addCallback(lambda ignore: self.load())
|
||||
self.memory_data = PersistentDict("memory")
|
||||
d.addCallback(lambda ignore: self.memory_data.load())
|
||||
d.addCallback(lambda ignore: self.disco.load())
|
||||
d.chainDeferred(self.initialized)
|
||||
|
||||
## Configuration ##
|
||||
|
|
|
|||
Loading…
Reference in a new issue