Skip to content

Commit fc3b6e3

Browse files
timofey-barminanuthan
authored andcommitted
MB-48047:[BP] Make terminate timeout smaller
5s connection termination timeout leads to timeouts for external cb_dist calls, which leads to crashes and can be avoided by decreasing the termination timeout. It should be ok to brutally kill connections. Backports change related to MB-49138. Reviewed-on: http://review.couchbase.org/c/ns_server/+/164388 Change-Id: Ia89e09c601a017779dd3648b9f5a07086211e14b Reviewed-on: http://review.couchbase.org/c/ns_server/+/165292 Well-Formed: Restriction Checker Tested-by: Abhijeeth Nuthan <[email protected]> Reviewed-by: Timofey Barmin <[email protected]>
1 parent 1161393 commit fc3b6e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cb_dist.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
-define(family, ?MODULE).
6666
-define(proto, ?MODULE).
67-
-define(TERMINATE_TIMEOUT, 5000).
67+
-define(TERMINATE_TIMEOUT, 1000).
6868
-define(ENSURE_CONFIG_TIMEOUT, 60000).
6969

7070
-type socket() :: any().

0 commit comments

Comments
 (0)