redis   [plain text]


# -*- text -*-
#
#  $Id$

#
#  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
}