summaryrefslogtreecommitdiff
path: root/src/redis.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/redis.c')
-rw-r--r--src/redis.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/redis.c b/src/redis.c
index 4668abb65..e502f2d35 100644
--- a/src/redis.c
+++ b/src/redis.c
@@ -1110,11 +1110,6 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
* to detect transfer failures. */
run_with_period(1000) replicationCron();
- /* Run the sentinel timer if we are in sentinel mode. */
- run_with_period(100) {
- if (server.sentinel_mode) sentinelTimer();
- }
-
server.cronloops++;
return 1000/server.hz;
}