If there's no pool{} configuration, use the defaults
authorAlan T. DeKok <aland@freeradius.org>
Tue, 14 Aug 2012 14:08:03 +0000 (16:08 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 14 Aug 2012 14:09:03 +0000 (16:09 +0200)
src/main/connection.c

index ee250de..ef51cc5 100644 (file)
@@ -437,7 +437,12 @@ fr_connection_pool_t *fr_connection_pool_init(CONF_SECTION *parent,
 
                if (cf_section_sub_find(cs, "trigger")) fc->trigger = TRUE;
        } else {
-               fc->max = 1024;
+               fc->start = 5;
+               fc->min = 5;
+               fc->max = 10;
+               fc->spare = 3;
+               fc->cleanup_delay = 5;
+               fc->idle_timeout = 60;
        }
 
        /*