Remove duplicate code
Former-commit-id: de5fa787625ae27ce16737b539a981a0dede091a
This commit is contained in:
parent
e75e080e7e
commit
070ea24010
@ -2614,11 +2614,6 @@ void beforeSleep(struct aeEventLoop *eventLoop) {
|
|||||||
* visit processCommand() at all). */
|
* visit processCommand() at all). */
|
||||||
handleClientsBlockedOnKeys();
|
handleClientsBlockedOnKeys();
|
||||||
|
|
||||||
/* Try to process blocked clients every once in while. Example: A module
|
|
||||||
* calls RM_SignalKeyAsReady from within a timer callback (So we don't
|
|
||||||
* visit processCommand() at all). */
|
|
||||||
handleClientsBlockedOnKeys();
|
|
||||||
|
|
||||||
/* Before we are going to sleep, let the threads access the dataset by
|
/* Before we are going to sleep, let the threads access the dataset by
|
||||||
* releasing the GIL. Redis main thread will not touch anything at this
|
* releasing the GIL. Redis main thread will not touch anything at this
|
||||||
* time. */
|
* time. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user