Skip to content

Commit 8704c82

Browse files
committed
udpate error message.
1 parent a646a9c commit 8704c82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/network/ReactorThread.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,8 @@ int swReactorThread_send2worker(void *data, int len, uint16_t target_worker_id)
525525
append_pipe_buffer:
526526
if (buffer->length > serv->pipe_buffer_size)
527527
{
528-
swoole_error_log(SW_LOG_ERROR, SW_ERROR_SERVER_PIPE_BUFFER_FULL, "worker#%d pipe buffer is full, the reactor will block.");
528+
swoole_error_log(SW_LOG_ERROR, SW_ERROR_SERVER_PIPE_BUFFER_FULL,
529+
"worker#%d pipe buffer is full, the reactor will block.", (int )target_worker_id);
529530
swSocket_wait(pipe_fd, SW_SOCKET_OVERFLOW_WAIT, SW_EVENT_WRITE);
530531
}
531532
if (swBuffer_append(buffer, data, len) < 0)

0 commit comments

Comments
 (0)