rlm_eap: add eap_chbind.c to build
[freeradius.git] / raddb / modules / redis
1 # -*- text -*-
2 #
3 #  $Id$
4
5 #
6 #  Configuration file for the "redis" module.  This module does nothing
7 #  Other than provide connections to a redis database, and a %{redis: ...}
8 #  expansion.
9 #
10 redis {
11         #  Host where the redis server is located.
12         #  We recommend using ONLY 127.0.0.1 !
13         hostname = 127.0.0.1
14
15         #  The default port.
16         port = 6379
17         
18         #  The password used to authenticate to the server.
19         #  We recommend using a strong password.
20 #       password = thisisreallysecretandhardtoguess
21
22         #
23         #  Information for the connection pool.  The configuration items
24         #  below are the same for all modules which use the new
25         #  connection pool.
26         #
27         pool {
28                 # start this many connections
29                 start = 1
30
31                 # Keep at least "min" connections open
32                 min = 1
33
34                 # No more than "max" connections at any one time
35                 max = 10
36
37                 # try to keep "spare" connections
38                 spare = 0
39
40                 # If we have spare connections for "cleanup_delay" seconds,
41                 # start deleting them
42                 cleanup_delay = 300
43
44                 # connections last no more than "lifeime" seconds.
45                 lifetime = 86400
46
47                 # close idle connections are "idle_timeout" seconds
48                 idle_timeout = 600
49
50                 # allow no more than "uses" queries through a connection.
51                 # after that, close it and open a new one.
52                 uses = 0
53         }
54 }