Log giving up on a file

This commit is contained in:
shortcutme 2017-02-22 11:28:17 +01:00
parent 76bebb1eed
commit 4aff146812
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -1061,4 +1061,5 @@ class Site(object):
self.updateWebsocket(file_failed=inner_path)
if self.bad_files.get(inner_path, 0) > 30:
self.log.debug("Giving up on %s" % inner_path)
del self.bad_files[inner_path] # Give up after 30 tries