fix: 修改数据类型

pull/8960/head^2
jiangweidong 2022-11-01 17:03:01 +08:00 committed by Jiangjie.Bai
parent c74584f63c
commit 1951c595ed
1 changed files with 1 additions and 1 deletions

View File

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