Document "pool = ..."
authorAlan T. DeKok <aland@freeradius.org>
Fri, 15 Aug 2014 09:19:14 +0000 (11:19 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 15 Aug 2014 09:19:14 +0000 (11:19 +0200)
raddb/mods-available/sql

index 61ec328..29fb4b2 100644 (file)
@@ -139,6 +139,23 @@ sql {
        # When the server is not threaded, the connection pool
        # limits are ignored, and only one connection is used.
        #
+       # If you want to have multiple SQL modules re-use the same
+       # connection pool, use "pool = name" instead of a "pool"
+       # section.  e.g.
+       #
+       #       sql1 {
+       #           ...
+       #           pool {
+       #                ...
+       #           }
+       #       }
+       #
+       #       # sql2 will use the connection pool from sql1
+       #       sql2 {
+       #            ...
+       #            pool = sql1
+       #       }
+       #
        pool {
                # Number of connections to start
                start = 5