forked from LBRYCommunity/lbry-sdk
temporarily disable blob analytics
This commit is contained in:
parent
6a7982022a
commit
aa3982f0e2
1 changed files with 8 additions and 8 deletions
|
@ -630,14 +630,14 @@ class Daemon(AuthJSONRPCServer):
|
|||
else:
|
||||
blob_infos = []
|
||||
report["known_blobs"] = 0
|
||||
for blob_hash, blob_num, iv, length in blob_infos:
|
||||
try:
|
||||
host = yield self.session.blob_manager.get_host_downloaded_from(blob_hash)
|
||||
except Exception:
|
||||
host = None
|
||||
if host:
|
||||
blobs[blob_num] = host
|
||||
report["blobs"] = json.dumps(blobs)
|
||||
# for blob_hash, blob_num, iv, length in blob_infos:
|
||||
# try:
|
||||
# host = yield self.session.blob_manager.get_host_downloaded_from(blob_hash)
|
||||
# except Exception:
|
||||
# host = None
|
||||
# if host:
|
||||
# blobs[blob_num] = host
|
||||
# report["blobs"] = json.dumps(blobs)
|
||||
defer.returnValue(report)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
|
|
Loading…
Reference in a new issue