diff --git a/src/main/resources/dev/redis.properties b/src/main/resources/dev/redis.properties index 6e9da90..80be888 100644 --- a/src/main/resources/dev/redis.properties +++ b/src/main/resources/dev/redis.properties @@ -3,8 +3,8 @@ redis.port=6379 redis.pass= redis.timeout=-1 -redis.maxTotal=10 -redis.maxIdle=5 +redis.maxTotal=15 +redis.maxIdle=10 redis.numTestsPerEvictionRun=1024 redis.timeBetweenEvictionRunsMillis=30000 redis.minEvictableIdleTimeMillis=1800000 @@ -12,5 +12,5 @@ redis.softMinEvictableIdleTimeMillis=10000 redis.maxWaitMillis=1500 redis.testWhileIdle=true redis.blockWhenExhausted=false -redis.minIdle=8 +redis.minIdle=5 redis.testOnBorrow=true \ No newline at end of file diff --git a/src/main/resources/pro/redis.properties b/src/main/resources/pro/redis.properties index bc1f169..d8a745a 100644 --- a/src/main/resources/pro/redis.properties +++ b/src/main/resources/pro/redis.properties @@ -3,7 +3,7 @@ redis.port=6379 redis.pass= redis.timeout=-1 -redis.maxTotal=30 +redis.maxTotal=20 redis.maxIdle=10 redis.numTestsPerEvictionRun=1024 redis.timeBetweenEvictionRunsMillis=30000 @@ -12,5 +12,5 @@ redis.softMinEvictableIdleTimeMillis=10000 redis.maxWaitMillis=1500 redis.testWhileIdle=true redis.blockWhenExhausted=false -redis.minIdle=8 +redis.minIdle=5 redis.testOnBorrow=true \ No newline at end of file diff --git a/src/main/resources/spring/spring-redis.xml b/src/main/resources/spring/spring-redis.xml index 020c3ff..d7df648 100644 --- a/src/main/resources/spring/spring-redis.xml +++ b/src/main/resources/spring/spring-redis.xml @@ -38,6 +38,8 @@ + +