increase default timeout in brotli

This commit is contained in:
codl 2017-09-23 19:35:59 +02:00
parent 8911c57ee4
commit 79e06784af
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 1 additions and 1 deletions

View File

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