Clean up loopback / inaddr_any checks
[freeradius.git] / raddb / sql.conf
index 4cba389..690c3a2 100644 (file)
@@ -86,6 +86,11 @@ sql {
        # closed "lifetime" seconds after they were first opened.
        lifetime = 0
 
+       # Maximum number of queries used by an SQL socket.  If you are
+       # having issues with SQL sockets lasting "too long", you can
+       # limit the number of queries performed over one socket.  After
+       # "max_qeuries", the socket will be closed.  Use 0 for "no limit".
+       max_queries = 0
 
        # Set to 'yes' to read radius clients from the database ('nas' table)
        # Clients will ONLY be read on server startup.  For performance