Skip to content

Commit e1efbc8

Browse files
committed
Correct two spelling errors of comments
1 parent 2bf8c2c commit e1efbc8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/ae.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ static int processTimeEvents(aeEventLoop *eventLoop) {
344344
* if flags has AE_FILE_EVENTS set, file events are processed.
345345
* if flags has AE_TIME_EVENTS set, time events are processed.
346346
* if flags has AE_DONT_WAIT set the function returns ASAP until all
347-
* if flags has AE_CALL_AFTER_SLEEP set, the aftersleep callback is called.
348347
* the events that's possible to process without to wait are processed.
348+
* if flags has AE_CALL_AFTER_SLEEP set, the aftersleep callback is called.
349349
*
350350
* The function returns the number of events processed. */
351351
int aeProcessEvents(aeEventLoop *eventLoop, int flags)

src/server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ void beforeSleep(struct aeEventLoop *eventLoop) {
12331233
if (moduleCount()) moduleReleaseGIL();
12341234
}
12351235

1236-
/* This function is called immadiately after the event loop multiplexing
1236+
/* This function is called immediately after the event loop multiplexing
12371237
* API returned, and the control is going to soon return to Redis by invoking
12381238
* the different events callbacks. */
12391239
void afterSleep(struct aeEventLoop *eventLoop) {

0 commit comments

Comments
 (0)