crawler: autotrim: make ctrl+c working
This commit is contained in:
@@ -620,6 +620,7 @@ class BaseCache:
|
|||||||
self.trim()
|
self.trim()
|
||||||
|
|
||||||
t = threading.Timer(delay, self.autotrim)
|
t = threading.Timer(delay, self.autotrim)
|
||||||
|
t.daemon = True
|
||||||
t.start()
|
t.start()
|
||||||
|
|
||||||
def __contains__(self, url):
|
def __contains__(self, url):
|
||||||
|
Reference in New Issue
Block a user