fix(jobservice) redis sentinel failover hang

Signed-off-by: Ziming Zhang <zziming@vmware.com>
This commit is contained in:
Ziming Zhang 2020-08-21 11:13:39 +08:00 committed by Ziming
parent 4a7a54cae8
commit ff19dd499c
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@ redis:
{% else %}
addr: {{redis_host}}
{% endif %}
readtimeout: 10s
writetimeout: 10s
dialtimeout: 10s
password: {{redis_password}}
db: {{redis_db_index_reg}}
http: