Skip to content

Commit 9badca8

Browse files
committed
cookbooks/devel/core: clarification for default value of tcp_check_timer
1 parent 2cbc8db commit 9badca8

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

docs/cookbooks/devel/core.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3858,8 +3858,11 @@ Set the check interval (in seconds) for tcp connections. It is used to check
38583858
if there was any data received on new connections or if the receiving of SIP
38593859
messages takes too long. See also `tcp_msg_data_timeout` and `tcp_msg_read_timeout`.
38603860

3861-
Default half of `tcp_msg_data_timeout` or `tcp_msg_read_timeout` value depending on
3862-
which one is smaller and not zero or 0 if both are zero
3861+
Default value is `-1`, resulting in computing the runtime valua as the half of
3862+
`tcp_msg_data_timeout` or `tcp_msg_read_timeout` value depending on
3863+
which one is smaller when both are greater than zero. If one of `tcp_msg_data_timeout`
3864+
or `tcp_msg_read_timeout` is greater than zero, the runtime value is half of it.
3865+
The runtime value is 0 if both are zero.
38633866

38643867
``` c
38653868
tcp_check_timer=5

0 commit comments

Comments
 (0)