[asterisk-commits] dlee: branch dlee/stasis-config r393358 - /team/dlee/stasis-config/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 1 16:14:58 CDT 2013


Author: dlee
Date: Mon Jul  1 16:14:56 2013
New Revision: 393358

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393358
Log:
Use aco_set_defaults to default the threadpool section

Modified:
    team/dlee/stasis-config/main/stasis_config.c

Modified: team/dlee/stasis-config/main/stasis_config.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-config/main/stasis_config.c?view=diff&rev=393358&r1=393357&r2=393358
==============================================================================
--- team/dlee/stasis-config/main/stasis_config.c (original)
+++ team/dlee/stasis-config/main/stasis_config.c Mon Jul  1 16:14:56 2013
@@ -116,9 +116,7 @@
 		return NULL;
 	}
 
-	conf->threadpool->initial_size = 0;
-	conf->threadpool->idle_timeout_sec = 20;
-	conf->threadpool->max_size = 200;
+	aco_set_defaults(&threadpool_option, "threadpool", conf->threadpool);
 
 	ao2_ref(conf, +1);
 	return conf;




More information about the asterisk-commits mailing list