Completed for a grade of four
This commit is contained in:
@@ -27,10 +27,23 @@ database {
|
||||
maxPoolSize = 10
|
||||
maxPoolSize = ${?DB_MAX_POOL_SIZE}
|
||||
connectionTimeoutMs = 2000
|
||||
statementTimeoutMs = 5000
|
||||
}
|
||||
|
||||
redis {
|
||||
host = "localhost"
|
||||
host = ${?REDIS_HOST}
|
||||
port = 6379
|
||||
port = ${?REDIS_PORT}
|
||||
password = ${?REDIS_PASSWORD}
|
||||
passwordFile = ${?REDIS_PASSWORD_FILE}
|
||||
connectTimeoutMs = 500
|
||||
commandTimeoutMs = 500
|
||||
}
|
||||
|
||||
authentication {
|
||||
realm = "messenger"
|
||||
sessionTtlSeconds = 3600
|
||||
sessionTtlSeconds = ${?SESSION_TTL_SECONDS}
|
||||
sessionCacheTtlSeconds = 60
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user