From 7d4330b57a563624c26abcd435443c0d1bd1fc1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Mon, 4 Dec 2023 13:24:22 +0100 Subject: [PATCH] Increase default value of negotiation_timeout from 30s to 2m This timeout also covers in-band registration, and if user don't fill registration form in that time leads to disconnect and aborting registration. This will allow for more time to finish that. --- src/ejabberd_options.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_options.erl b/src/ejabberd_options.erl index 75a0caa8e..787d03628 100644 --- a/src/ejabberd_options.erl +++ b/src/ejabberd_options.erl @@ -606,7 +606,7 @@ options() -> {log_modules_fully, []}, {max_fsm_queue, undefined}, {modules, []}, - {negotiation_timeout, timer:seconds(30)}, + {negotiation_timeout, timer:seconds(120)}, {net_ticktime, timer:seconds(60)}, {new_sql_schema, ?USE_NEW_SQL_SCHEMA_DEFAULT}, {update_sql_schema, false},