diff options
author | antirez <antirez@gmail.com> | 2014-02-25 15:18:43 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-02-25 15:18:43 +0100 |
commit | 51943a78b0d2e6c7c4d0647ba1a60c33d3a1a4d9 (patch) | |
tree | 8b165ff9c758b6a1a31d311988c937546c4b5423 /src/redis.c | |
parent | 2fc65c844f62897ddaf8f5e0f8352f3af02e91f7 (diff) | |
download | redis-2.6.tar.gz |
Deprecate Redis Sentinel in 2.6.2.6
Everybody should use the more robust implementation shipped with 2.8.
Diffstat (limited to 'src/redis.c')
-rw-r--r-- | src/redis.c | 5 |
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; } |