From c4adaf91067559dd5aa90577e181693abade0602 Mon Sep 17 00:00:00 2001 From: "David M. Lee" Date: Wed, 3 Jul 2013 17:20:43 +0000 Subject: Configuration for Stasis threadpool The appropriate settings for the Stasis threadpool is very system specific, depending upon both workload and system configuration. This patch adds a stasis.conf file which can be used to configure the key attributes of the threadpool for the Stasis message bus. (closes issue ASTERISK-21280) Review: https://reviewboard.asterisk.org/r/2651/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393542 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configs/stasis.conf.sample | 8 ++++++++ configs/stasis_core.conf.sample | 6 ------ 2 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 configs/stasis.conf.sample delete mode 100644 configs/stasis_core.conf.sample (limited to 'configs') diff --git a/configs/stasis.conf.sample b/configs/stasis.conf.sample new file mode 100644 index 000000000..c6466b489 --- /dev/null +++ b/configs/stasis.conf.sample @@ -0,0 +1,8 @@ +[threadpool] +;initial_size = 0 ; Initial size of the threadpool + +;idle_timeout_sec = 20 ; Number of seconds a thread should be idle before dying +; ; 0 means threads never time out + +;max_size = 200 ; Maximum number of threads in the threadpool +; ; 0 means no limit to the threads in the threadpool diff --git a/configs/stasis_core.conf.sample b/configs/stasis_core.conf.sample deleted file mode 100644 index 840b13ae1..000000000 --- a/configs/stasis_core.conf.sample +++ /dev/null @@ -1,6 +0,0 @@ -[general] - -[threadpool] -;initial_size = 0 ; Initial size of the threadpool -;idle_timeout = 20 ; Number of seconds a thread should be idle before dying -;max_size = 200 ; Maximum number of threads in the threadpool -- cgit v1.2.3