mirror of
https://github.com/codl/forget
synced 2025-01-19 02:20:40 +01:00
double the default timeout on img proxy
This commit is contained in:
parent
66d87fda58
commit
8911c57ee4
@ -10,7 +10,7 @@ import re
|
||||
|
||||
|
||||
class ImgProxyCache(object):
|
||||
def __init__(self, redis_uri='redis://', timeout=5, expire=60*60,
|
||||
def __init__(self, redis_uri='redis://', timeout=10, expire=60*60,
|
||||
prefix='img_proxy', hmac_hash='sha1'):
|
||||
self.redis = redis.StrictRedis.from_url(redis_uri)
|
||||
self.timeout = timeout
|
||||
|
Loading…
Reference in New Issue
Block a user