mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-24 08:04:44 +00:00
Remove URLs from the in_progress cache.
This commit is contained in:
parent
22860ba773
commit
bc683577de
1 changed files with 3 additions and 0 deletions
3
linkcheck/cache/urlqueue.py
vendored
3
linkcheck/cache/urlqueue.py
vendored
|
|
@ -169,6 +169,9 @@ class UrlQueue (object):
|
|||
self.seen[key] += 1
|
||||
else:
|
||||
self.seen[key] = 0
|
||||
key = url_data.cache_url_key
|
||||
assert key is not None
|
||||
del self.in_progress[key]
|
||||
self.finished_tasks += 1
|
||||
self.unfinished_tasks -= 1
|
||||
if self.unfinished_tasks <= 0:
|
||||
|
|
|
|||
Loading…
Reference in a new issue