From 070ea24010c38634262e1beff7ab54bbd7d3c1d8 Mon Sep 17 00:00:00 2001 From: John Sully Date: Tue, 25 May 2021 20:50:40 +0000 Subject: [PATCH] Remove duplicate code Former-commit-id: de5fa787625ae27ce16737b539a981a0dede091a --- src/server.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/server.cpp b/src/server.cpp index 888f778e8..a4ba338eb 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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. */