double the default timeout on img proxy

This commit is contained in:
codl 2017-09-23 10:34:01 +02:00
parent 66d87fda58
commit 8911c57ee4
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 1 additions and 1 deletions

View File

@ -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