File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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. */
351351int aeProcessEvents (aeEventLoop * eventLoop , int flags )
Original file line number Diff line number Diff 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. */
12391239void afterSleep (struct aeEventLoop * eventLoop ) {
You can’t perform that action at this time.
0 commit comments