You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stopping all the tasks and then close connections (instead of stop a
task and then close the corresponding connection) at least stop
publishing as soon as possible in case a connection takes some time to
close.
Publisher connections can take some time to close because of flow
control. In this case, even though all publishing tasks are terminated,
a significant amount of messages can still seem to be sent probably because of
TCP buffers flushing. So this commit can help mitigate this phenomenon,
but not completely prevent it. Using Connection#close(int timeout) should not
help either TCP buffer flushing would also occur.
[#157183370]
Fixes#96
0 commit comments