Log site download time
This commit is contained in:
parent
af1ac9bce8
commit
20ba9cd589
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue