Remove duplicate code

Former-commit-id: de5fa787625ae27ce16737b539a981a0dede091a
This commit is contained in:
John Sully 2021-05-25 20:50:40 +00:00
parent e75e080e7e
commit 070ea24010

View File

@ -2614,11 +2614,6 @@ void beforeSleep(struct aeEventLoop *eventLoop) {
* visit processCommand() at all). */
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
* releasing the GIL. Redis main thread will not touch anything at this
* time. */