|
@@ -38,10 +38,10 @@ spring:
|
|
|
redis:
|
|
|
#数据库索引
|
|
|
database: ${REDIS_DB:2}
|
|
|
-# host: ${REDIS_HOST:114.55.24.6}
|
|
|
-# port: ${REDIS_PORT:6381}
|
|
|
- host: ${REDIS_HOST:127.0.0.1}
|
|
|
- port: ${REDIS_PORT:6379}
|
|
|
+ host: ${REDIS_HOST:114.55.24.6}
|
|
|
+ port: ${REDIS_PORT:6381}
|
|
|
+# host: ${REDIS_HOST:127.0.0.1}
|
|
|
+# port: ${REDIS_PORT:6379}
|
|
|
password: ${REDIS_PWD:}
|
|
|
#连接超时时间
|
|
|
timeout: 5000ms
|