Log site download time

This commit is contained in:
shortcutme 2019-12-17 14:30:29 +01:00
parent af1ac9bce8
commit 20ba9cd589
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -324,6 +324,7 @@ class Site(object):
self.log.debug("No connection server found, skipping download")
return False
s = time.time()
self.log.debug(
"Start downloading, bad_files: %s, check_size: %s, blind_includes: %s" %
(self.bad_files, check_size, blind_includes)
@ -338,6 +339,7 @@ class Site(object):
valid = self.downloadContent("content.json", check_modifications=blind_includes)
self.onComplete.once(lambda: self.retryBadFiles(force=True))
self.log.debug("Download done in %.3fs" % (time.time () - s))
return valid