configurable redis pool (fix #629)

This commit is contained in:
Athou
2014-09-22 09:51:55 +02:00
parent c3feaf9a15
commit 2a36cc4327
6 changed files with 72 additions and 17 deletions

View File

@@ -88,6 +88,7 @@ server:
adminConnectors:
- type: http
port: 8084
logging:
level: WARN
loggers:
@@ -102,4 +103,16 @@ logging:
archive: true
archivedLogFilenamePattern: log/commafeed-%d.log
archivedFileCount: 5
timeZone: UTC
timeZone: UTC
# Redis pool configuration
# (only used if app.cache is 'redis')
# -----------------------------------
redis:
host: localhost
port: 6379
password:
timeout: 2000
database: 0
maxTotal: 500