mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Fix crash when running reload_config and sql_pool_size option is used
Fixes #2541
This commit is contained in:
parent
5e9945f060
commit
0c794c105f
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ stop_host(Host) ->
|
|||
-spec reload_host(binary()) -> ok.
|
||||
reload_host(Host) ->
|
||||
case needs_sql(Host) of
|
||||
true -> ejabberd_sql_sup:reload(Host);
|
||||
{true, _} -> ejabberd_sql_sup:reload(Host);
|
||||
false -> ok
|
||||
end.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue