temporarily disable blob analytics

This commit is contained in:
Jack Robison 2017-10-02 11:21:51 -04:00
parent 6a7982022a
commit aa3982f0e2
No known key found for this signature in database
GPG key ID: 284699E7404E3CFF

View file

@ -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