Only cache ignored proxies for 1 day
This commit is contained in:
1 parent
6172ce4960
commit
b37112600e
1 file changed
+2
-1
@@ -44,7 +44,8 @@ class TorrentProvider(YarrProvider):
|
||||
|
||||
prop_name = 'proxy.%s' % proxy
|
||||
last_check = float(Env.prop(prop_name, default = 0))
|
||||
if last_check > time.time() - 1209600:
|
||||
|
||||
if last_check > time.time() - 86400:
|
||||
continue
|
||||
|
||||
data = ''
|
||||
|
||||
Reference in new issue
Block a user