mirror of
https://github.com/emqx/neuron.git
synced 2026-10-21 00:36:23 +08:00
reduce retry time
This commit is contained in:
@@ -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 > 50) {
|
||||
if (retry > 5) {
|
||||
zlog_error(conn->param.log,
|
||||
"conn fd: %d, send buf len: %zd, ret: %zd, "
|
||||
"errno: %s(%d)",
|
||||
|
||||
Reference in New Issue
Block a user