mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-18 22:15:20 +02:00
Omit [info] message with number of queued stanzas
Just log a debug message if a stream management session times out and some stanzas weren't acknowledged.
This commit is contained in:
parent
f6e960d326
commit
749033598d
|
@ -2873,8 +2873,8 @@ handle_unacked_stanzas(#state{mgmt_state = MgmtState} = StateData, F)
|
||||||
0 ->
|
0 ->
|
||||||
ok;
|
ok;
|
||||||
N ->
|
N ->
|
||||||
?INFO_MSG("~B stanzas were not acknowledged by ~s",
|
?DEBUG("~B stanza(s) were not acknowledged by ~s",
|
||||||
[N, jid:to_string(StateData#state.jid)]),
|
[N, jid:to_string(StateData#state.jid)]),
|
||||||
lists:foreach(
|
lists:foreach(
|
||||||
fun({_, Time, #xmlel{attrs = Attrs} = El}) ->
|
fun({_, Time, #xmlel{attrs = Attrs} = El}) ->
|
||||||
From_s = fxml:get_attr_s(<<"from">>, Attrs),
|
From_s = fxml:get_attr_s(<<"from">>, Attrs),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user