From ac0559d89b8cfeee6d8db1175c4b1497f595bb3e Mon Sep 17 00:00:00 2001 From: fengzero Date: Thu, 26 Oct 2023 10:51:40 +0000 Subject: [PATCH] delay 10ms --- src/connection/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection/connection.c b/src/connection/connection.c index ce48323b..f8cf1f12 100644 --- a/src/connection/connection.c +++ b/src/connection/connection.c @@ -348,7 +348,7 @@ ssize_t neu_conn_send(neu_conn_t *conn, uint8_t *buf, ssize_t len) } } else { if (rc == -1 && errno == EAGAIN) { - if (retry > 5) { + if (retry > 50) { zlog_error(conn->param.log, "conn fd: %d, send buf len: %zd, ret: %zd, " "errno: %s(%d)",