]> git.saurik.com Git - redis.git/blobdiff - src/pubsub.c
Sentinel: reply -IDONTKNOW to get-master-addr-by-name on lack of info.
[redis.git] / src / pubsub.c
index 984013bbc46454ec69b534ddcad5cfe333bf309b..4e07dbbab1b296537e1ca4b0e2534a322f57fa20 100644 (file)
@@ -263,6 +263,5 @@ void punsubscribeCommand(redisClient *c) {
 
 void publishCommand(redisClient *c) {
     int receivers = pubsubPublishMessage(c->argv[1],c->argv[2]);
-    if (server.cluster_enabled) clusterPropagatePublish(c->argv[1],c->argv[2]);
     addReplyLongLong(c,receivers);
 }