From b25fc764b666270848270f36ca1e57de94233134 Mon Sep 17 00:00:00 2001 From: Shivshankar-Reddy Date: Mon, 21 Oct 2024 19:09:35 +0000 Subject: [PATCH] Correct typo Signed-off-by: Shivshankar-Reddy --- src/io_threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io_threads.c b/src/io_threads.c index b0368cf07b..f4471b96d0 100644 --- a/src/io_threads.c +++ b/src/io_threads.c @@ -319,7 +319,7 @@ void initIOThreads(void) { int trySendReadToIOThreads(client *c) { if (server.active_io_threads_num <= 1) return C_ERR; - /* If IO thread is areadty reading, return C_OK to make sure the main thread will not handle it. */ + /* If IO thread is already reading, return C_OK to make sure the main thread will not handle it. */ if (c->io_read_state != CLIENT_IDLE) return C_OK; /* Currently, replica/master writes are not offloaded and are processed synchronously. */ if (c->flag.primary || getClientType(c) == CLIENT_TYPE_REPLICA) return C_ERR;