mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Fix typos in comments (#8466)
This commit is contained in:
parent
62b1f32062
commit
88272cf7ac
@ -2815,7 +2815,7 @@ void clusterPropagatePublish(robj *channel, robj *message) {
|
||||
* SLAVE node specific functions
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
/* This function sends a FAILOVE_AUTH_REQUEST message to every node in order to
|
||||
/* This function sends a FAILOVER_AUTH_REQUEST message to every node in order to
|
||||
* see if there is the quorum for this slave instance to failover its failing
|
||||
* master.
|
||||
*
|
||||
|
@ -527,7 +527,7 @@ void trimReplyUnusedTailSpace(client *c) {
|
||||
listNode *ln = listLast(c->reply);
|
||||
clientReplyBlock *tail = ln? listNodeValue(ln): NULL;
|
||||
|
||||
/* Note that 'tail' may be NULL even if we have a tail node, becuase when
|
||||
/* Note that 'tail' may be NULL even if we have a tail node, because when
|
||||
* addReplyDeferredLen() is used */
|
||||
if (!tail) return;
|
||||
|
||||
@ -1426,7 +1426,7 @@ void freeClientAsync(client *c) {
|
||||
pthread_mutex_unlock(&async_free_queue_mutex);
|
||||
}
|
||||
|
||||
/* Free the clietns marked as CLOSE_ASAP, return the number of clients
|
||||
/* Free the clients marked as CLOSE_ASAP, return the number of clients
|
||||
* freed. */
|
||||
int freeClientsInAsyncFreeQueue(void) {
|
||||
int freed = 0;
|
||||
@ -3519,7 +3519,7 @@ int handleClientsWithPendingWritesUsingThreads(void) {
|
||||
if (processed == 0) return 0; /* Return ASAP if there are no clients. */
|
||||
|
||||
/* If I/O threads are disabled or we have few clients to serve, don't
|
||||
* use I/O threads, but thejboring synchronous code. */
|
||||
* use I/O threads, but the boring synchronous code. */
|
||||
if (server.io_threads_num == 1 || stopThreadedIOIfNeeded()) {
|
||||
return handleClientsWithPendingWrites();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user