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):
|
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'):
|
prefix='img_proxy', hmac_hash='sha1'):
|
||||||
self.redis = redis.StrictRedis.from_url(redis_uri)
|
self.redis = redis.StrictRedis.from_url(redis_uri)
|
||||||
self.timeout = timeout
|
self.timeout = timeout
|
||||||
|
|
Loading…
Reference in New Issue