Merge pull request #2876 from coreos-inc/blocking-logs-fix
Decrease redis timeouts to within the WAMP message window
This commit is contained in:
commit
b897d896d7
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class RedisBuildLogs(object):
|
|||
|
||||
def __init__(self, redis_config):
|
||||
args = dict(redis_config)
|
||||
args.update({'socket_connect_timeout': 5, 'socket_timeout': 5})
|
||||
args.update({'socket_connect_timeout': 1, 'socket_timeout': 2})
|
||||
|
||||
self._redis_config = redis_config
|
||||
self._redis = redis.StrictRedis(**args)
|
||||
|
|
Reference in a new issue