Switch socket_timeout to socket_connect_timeout for redis.
This commit is contained in:
parent
26fab5d6ba
commit
74e35f917e
2 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ class RedisBuildLogs(object):
|
|||
PHASE = 'phase'
|
||||
|
||||
def __init__(self, redis_host):
|
||||
self._redis = redis.StrictRedis(host=redis_host, socket_timeout=5)
|
||||
self._redis = redis.StrictRedis(host=redis_host, socket_connect_timeout=5)
|
||||
|
||||
@staticmethod
|
||||
def _logs_key(build_id):
|
||||
|
|
Reference in a new issue