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:
|
else:
|
||||||
blob_infos = []
|
blob_infos = []
|
||||||
report["known_blobs"] = 0
|
report["known_blobs"] = 0
|
||||||
for blob_hash, blob_num, iv, length in blob_infos:
|
# for blob_hash, blob_num, iv, length in blob_infos:
|
||||||
try:
|
# try:
|
||||||
host = yield self.session.blob_manager.get_host_downloaded_from(blob_hash)
|
# host = yield self.session.blob_manager.get_host_downloaded_from(blob_hash)
|
||||||
except Exception:
|
# except Exception:
|
||||||
host = None
|
# host = None
|
||||||
if host:
|
# if host:
|
||||||
blobs[blob_num] = host
|
# blobs[blob_num] = host
|
||||||
report["blobs"] = json.dumps(blobs)
|
# report["blobs"] = json.dumps(blobs)
|
||||||
defer.returnValue(report)
|
defer.returnValue(report)
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
|
|
Loading…
Reference in a new issue