don't block daemon startup on the file manager
This commit is contained in:
parent
f07e696c31
commit
f25b772b56
2 changed files with 3 additions and 2 deletions
|
@ -24,6 +24,7 @@ at anytime.
|
|||
### Changed
|
||||
* reflector server to periodically check and set `should_announce` for sd and head blobs instead of during each request
|
||||
* reflector server to use `SQLiteStorage` to find needed blob hashes for a stream
|
||||
* file manager startup to not block daemon startup
|
||||
|
||||
### Added
|
||||
* scripts to autogenerate documentation
|
||||
|
|
|
@ -44,8 +44,8 @@ class EncryptedFileManager(object):
|
|||
@defer.inlineCallbacks
|
||||
def setup(self):
|
||||
yield self._add_to_sd_identifier()
|
||||
yield self._start_lbry_files()
|
||||
log.info("Started file manager")
|
||||
d = self._start_lbry_files()
|
||||
d.addCallback(lambda _: log.info("Started file manager"))
|
||||
|
||||
def get_lbry_file_status(self, lbry_file):
|
||||
return self.session.storage.get_lbry_file_status(lbry_file.rowid)
|
||||
|
|
Loading…
Reference in a new issue