Browse Source

dev redis config

huodongdong 6 years ago
parent
commit
c92a6d35b6
1 changed files with 12 additions and 0 deletions
  1. 12 0
      dev/cms-web-dev.properties

+ 12 - 0
dev/cms-web-dev.properties

@@ -20,3 +20,15 @@ jwt.expiration= 3600
 cms.threadPoolAsyncTaskExecutor.thread.size=16
 
 #logging.level.root=debug
+## redis 配置
+spring.redis.host=r-2ze20a12a3fa8464.redis.rds.aliyuncs.com
+#spring.redis.host=localhost
+spring.redis.port=6379
+spring.redis.password=Lingj20170915
+#spring.redis.password=
+spring.redis.timeout=3000
+spring.redis.pool.max-idle=8
+spring.redis.pool.min-idle=0
+spring.redis.pool.max-active=8
+spring.redis.pool.max-wait=-1
+spring.redis.key.prefix=api/web