do not yield on add_lbry_file() when obtaining sd blob as reflector server

This commit is contained in:
Kay Kurokawa 2017-12-05 12:47:27 -05:00
parent 1d3deb37b1
commit 63c6d3580d

View file

@ -108,7 +108,7 @@ class ReflectorServer(Protocol):
yield save_sd_info(self.stream_info_manager, sd_info)
yield self.stream_info_manager.save_sd_blob_hash_to_stream(sd_info['stream_hash'],
blob.blob_hash)
yield self.lbry_file_manager.add_lbry_file(sd_info['stream_hash'])
self.lbry_file_manager.add_lbry_file(sd_info['stream_hash'])
should_announce = True
# if we already have the head blob, set it to be announced now that we know it's