Skip to content

Commit

Permalink
Increase default value of negotiation_timeout from 30s to 2m
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
prefiks committed Dec 4, 2023
1 parent 225d14c commit 7d4330b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ejabberd_options.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 7d4330b

Please sign in to comment.