浏览代码

cookbooks/devel/core: docs for new tcp check parameters

- tcp_check_timer, tcp_msg_data_timeout, tcp_msg_read_timeout
Daniel-Constantin Mierla 1 年之前
父节点
当前提交
34929eeb45
共有 1 个文件被更改,包括 30 次插入0 次删除
  1. 30 0
      docs/cookbooks/devel/core.md

+ 30 - 0
docs/cookbooks/devel/core.md

@@ -3344,6 +3344,18 @@ and `tcp_wq_max`).
     tcp_async = yes | no (default yes)
 ```
 
+### tcp_check_timer
+
+Set the check interval (in seconds) for tcp connections. It is used to check
+if there was any data received on new connections or if the receiving of SIP
+messages takes too long. See also `tcp_msg_data_timeout` and `tcp_msg_read_timeout`.
+
+Default 10.
+
+```
+tcp_check_timer=5
+```
+
 ### tcp_children
 
 Number of children processes to be created for reading from TCP
@@ -3529,6 +3541,24 @@ Example of usage:
     tcp_max_connections=4096
 ```
 
+### tcp_msg_data_timeout
+
+Duration in seconds for how long to wait till data is received on a new tcp
+connection. Default 20.
+
+```
+tcp_msg_data_timeout=10
+```
+
+### tcp_msg_read_timeout
+
+Duration in seconds for how long to wait till data is received on a new tcp
+connection. Default 20.
+
+```
+tcp_msg_read_timeout=10
+```
+
 ### tcp_no_connect
 
 Stop outgoing TCP connects (also stops TLS) by setting tcp_no_connect to