Simplify #13121 by @tomyouyou, log it at debug level

This commit is contained in:
Michael Klishin 2025-06-25 14:28:21 +04:00
parent 9e14040456
commit 9bd0731a5a
No known key found for this signature in database
GPG Key ID: 16AB14D00D613900
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ handle_cast(terminate, State = #ch{cfg = #conf{writer_pid = WriterPid}}) ->
ok = rabbit_writer:flush(WriterPid) ok = rabbit_writer:flush(WriterPid)
catch catch
Class:Reason -> Class:Reason ->
rabbit_log:info("Failed to flushing writer ~tp, Error:~tp", [WriterPid, {Class,Reason}]) rabbit_log:debug("Failed to flush pending writes on a terminating connection, reason: ~tp", [Reason])
end, end,
{stop, normal, State}; {stop, normal, State};