increase default timeout in brotli
This commit is contained in:
parent
8911c57ee4
commit
79e06784af
|
@ -8,7 +8,7 @@ import mimetypes
|
|||
|
||||
|
||||
class BrotliCache(object):
|
||||
def __init__(self, redis_uri='redis://', timeout=0.020, expire=60*60*6):
|
||||
def __init__(self, redis_uri='redis://', timeout=0.100, expire=60*60*6):
|
||||
self.redis = redis.StrictRedis.from_url(redis_uri)
|
||||
self.timeout = timeout
|
||||
self.expire = expire
|
||||
|
|
Loading…
Reference in New Issue