crawler: autotrim: make ctrl+c working

master
pictuga 2020-10-01 00:04:36 +02:00
parent eed949736a
commit 056a1b143f
1 changed files with 1 additions and 0 deletions

View File

@ -620,6 +620,7 @@ class BaseCache:
self.trim()
t = threading.Timer(delay, self.autotrim)
t.daemon = True
t.start()
def __contains__(self, url):