summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@digium.com>2013-07-03 17:20:43 +0000
committerDavid M. Lee <dlee@digium.com>2013-07-03 17:20:43 +0000
commitc4adaf91067559dd5aa90577e181693abade0602 (patch)
tree0570531e9eff80030bb9a3a00ee68cee66993766 /configs
parent9ba976b19c3e553b8ff0715b20894de61520a300 (diff)
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
Diffstat (limited to 'configs')
-rw-r--r--configs/stasis.conf.sample8
-rw-r--r--configs/stasis_core.conf.sample6
2 files changed, 8 insertions, 6 deletions
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