forked from infra/ansible
35 lines
883 B
Plaintext
35 lines
883 B
Plaintext
|
# -*- text -*-
|
||
|
#
|
||
|
# $Id: d7605d9888607aa6451ab24450cebfd7bc9d4437 $
|
||
|
|
||
|
#
|
||
|
# Configuration file for the "redis" module. This module does nothing
|
||
|
# Other than provide connections to a redis database, and a %{redis: ...}
|
||
|
# expansion.
|
||
|
#
|
||
|
redis {
|
||
|
# Host where the redis server is located.
|
||
|
# We recommend using ONLY 127.0.0.1 !
|
||
|
hostname = 127.0.0.1
|
||
|
|
||
|
# The default port.
|
||
|
port = 6379
|
||
|
|
||
|
# The password used to authenticate to the server.
|
||
|
# We recommend using a strong password.
|
||
|
# password = thisisreallysecretandhardtoguess
|
||
|
|
||
|
# The number of connections to open to the database.
|
||
|
num_connections = 20
|
||
|
|
||
|
# If a connection fails, retry after this time.
|
||
|
connect_failure_retry_delay = 60
|
||
|
|
||
|
# Set the maximum lifetime for one connection.
|
||
|
# Use 0 for "lives forever"
|
||
|
lifetime = 86400
|
||
|
|
||
|
# Set the maximum queries used for one connection.
|
||
|
# Use 0 for "no limit"
|
||
|
max_queries = 0
|
||
|
}
|