mirror of https://github.com/jumpserver/jumpserver
fix: 修改数据类型
parent
c74584f63c
commit
1951c595ed
|
@ -292,7 +292,7 @@ REDIS_SENTINELS_HOST = CONFIG.REDIS_SENTINELS_HOST
|
|||
REDIS_SENTINEL_SERVICE_NAME, REDIS_SENTINELS = parse_sentinels_host(REDIS_SENTINELS_HOST)
|
||||
REDIS_SENTINEL_PASSWORD = CONFIG.REDIS_SENTINEL_PASSWORD
|
||||
if CONFIG.REDIS_SENTINEL_SOCKET_TIMEOUT:
|
||||
REDIS_SENTINEL_SOCKET_TIMEOUT = int(CONFIG.REDIS_SENTINEL_SOCKET_TIMEOUT)
|
||||
REDIS_SENTINEL_SOCKET_TIMEOUT = float(CONFIG.REDIS_SENTINEL_SOCKET_TIMEOUT)
|
||||
else:
|
||||
REDIS_SENTINEL_SOCKET_TIMEOUT = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue