mirror of https://github.com/jumpserver/jumpserver
perf(config): 升级依赖redis==3.5.3; 添加CACHES配置: health_check_interval=30; 解决因网络不稳定导致的redis连接失败异常
parent
2f08f1258f
commit
b3d4ebd938
|
@ -241,6 +241,9 @@ CACHES = {
|
|||
'host': CONFIG.REDIS_HOST,
|
||||
'port': CONFIG.REDIS_PORT,
|
||||
'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
|
||||
pytz==2018.3
|
||||
PyYAML==5.1
|
||||
redis==3.2.0
|
||||
redis==3.5.3
|
||||
requests==2.22.0
|
||||
jms-storage==0.0.31
|
||||
s3transfer==0.3.3
|
||||
|
|
Loading…
Reference in New Issue