diff options
-rw-r--r-- | src/cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c index 5f3c75e09..d328ede2f 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -4077,7 +4077,7 @@ void clusterCron(void) { orphaned_masters++; } if (okslaves > max_slaves) max_slaves = okslaves; - if (nodeIsSlave(myself) && myself->slaveof == node) + if (myself->slaveof == node) this_slaves = okslaves; } |