From: Alan Buxey Date: Sun, 19 Aug 2012 20:33:02 +0000 (+0100) Subject: updated CUI to use new connection pools X-Git-Tag: release_3_0_0_beta0~82^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F78%2Fhead;p=thirdparty%2Ffreeradius-server.git updated CUI to use new connection pools update of the CUI module config to use the new connection pools method as per its 'parent' SQL heritage --- diff --git a/raddb/mods-available/cui b/raddb/mods-available/cui index b1ba225273..fc444ff71c 100644 --- a/raddb/mods-available/cui +++ b/raddb/mods-available/cui @@ -22,8 +22,15 @@ sql cui { radius_db = "db_name" # sqltrace = yes # sqltracefile = ${logdir}/cuitrace.sql - num_sql_socks = 5 - connect_failure_retry_delay = 60 + pool { + start = 5 + min = 4 + max = 10 + spare = 3 + uses = 0 + lifetime = 0 + idle_timeout = 60 + } cui_table = "cui" sql_user_name = "%{User-Name}" #$INCLUDE sql/${database}/cui.conf