mirror of https://github.com/jumpserver/jumpserver
perf(config): 升级依赖redis==3.5.3; 添加CACHES配置: health_check_interval=30; 解决因网络不稳定导致的redis连接失败异常
parent
b1ac3fa94f
commit
f84b845385
|
@ -242,6 +242,9 @@ CACHES = {
|
||||||
'host': CONFIG.REDIS_HOST,
|
'host': CONFIG.REDIS_HOST,
|
||||||
'port': CONFIG.REDIS_PORT,
|
'port': CONFIG.REDIS_PORT,
|
||||||
'db': CONFIG.REDIS_DB_CACHE,
|
'db': CONFIG.REDIS_DB_CACHE,
|
||||||
|
},
|
||||||
|
'OPTIONS': {
|
||||||
|
"REDIS_CLIENT_KWARGS": {"health_check_interval": 30}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,7 +59,7 @@ python-dateutil==2.6.1
|
||||||
python-gssapi==0.6.4
|
python-gssapi==0.6.4
|
||||||
pytz==2018.3
|
pytz==2018.3
|
||||||
PyYAML==5.1
|
PyYAML==5.1
|
||||||
redis==3.2.0
|
redis==3.5.3
|
||||||
requests==2.22.0
|
requests==2.22.0
|
||||||
jms-storage==0.0.34
|
jms-storage==0.0.34
|
||||||
s3transfer==0.3.3
|
s3transfer==0.3.3
|
||||||
|
|
Loading…
Reference in New Issue