This is an automated email from the ASF dual-hosted git repository. kgiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/main by this push: new b7482bf DISPATCH-2250: add extra poll for output after event batch b7482bf is described below commit b7482bfa3bfca8816580e944fdf696edadbc1e5f Author: Kenneth Giusti <kgiu...@apache.org> AuthorDate: Tue Sep 7 12:38:04 2021 -0400 DISPATCH-2250: add extra poll for output after event batch This improves single-router throughput by about 8% for small message traffic. The extra poll picks up any output work scheduled by the core since the last PN_CONNECTION_WAKE event. --- src/container.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/container.c b/src/container.c index dc154eb..af82c36 100644 --- a/src/container.c +++ b/src/container.c @@ -481,6 +481,10 @@ void qd_conn_event_batch_complete(qd_container_t *container, qd_connection_t *qd to_free = DEQ_HEAD(qd_conn->free_link_session_list); } + + if (!conn_closed) { + writable_handler(container, qd_conn->pn_conn, qd_conn); + } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org