summaryrefslogtreecommitdiff
path: root/src/cluster.h
diff options
context:
space:
mode:
authorWen Hui <wen.hui.ware@gmail.com>2021-10-19 01:28:27 -0400
committerGitHub <noreply@github.com>2021-10-18 22:28:27 -0700
commit1c2b5f53188882ed78b83a5e4ec1697583530f0b (patch)
tree4ce39e107b5a767eba6c7ad079bc01848154173d /src/cluster.h
parentb7f2a1a217b5c5b7b0320bfe0511dfdf2e0eb174 (diff)
downloadredis-1c2b5f53188882ed78b83a5e4ec1697583530f0b.tar.gz
Make Cluster-bus port configurable with new cluster-port config (#9389)
Make Cluster-bus port configurable with new cluster-port config
Diffstat (limited to 'src/cluster.h')
-rw-r--r--src/cluster.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cluster.h b/src/cluster.h
index 54a1ac25a..f97814775 100644
--- a/src/cluster.h
+++ b/src/cluster.h
@@ -6,9 +6,9 @@
*----------------------------------------------------------------------------*/
#define CLUSTER_SLOTS 16384
-#define CLUSTER_OK 0 /* Everything looks ok */
-#define CLUSTER_FAIL 1 /* The cluster can't work */
-#define CLUSTER_NAMELEN 40 /* sha1 hex length */
+#define CLUSTER_OK 0 /* Everything looks ok */
+#define CLUSTER_FAIL 1 /* The cluster can't work */
+#define CLUSTER_NAMELEN 40 /* sha1 hex length */
#define CLUSTER_PORT_INCR 10000 /* Cluster port = baseport + PORT_INCR */
/* The following defines are amount of time, sometimes expressed as