Skip to content

Commit e01e65a

Browse files
Remove deprecated defines
1 parent f7921d7 commit e01e65a

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

cluster_library.h

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,6 @@
1111
#define REDIS_CLUSTER_SLOTS 16384
1212
#define REDIS_CLUSTER_MOD (REDIS_CLUSTER_SLOTS-1)
1313

14-
/* Minimum valid CLUSTER NODES line element count
15-
and the minimum we expect if there are slots */
16-
#define CLUSTER_MIN_NODE_LINE 8
17-
#define CLUSTER_MIN_SLOTS_COUNT 9
18-
19-
/* Length of a cluster name */
20-
#define CLUSTER_NAME_LEN 40
21-
22-
/* The parts for our cluster nodes command */
23-
#define CLUSTER_NODES_HASH 0
24-
#define CLUSTER_NODES_HOST_PORT 1
25-
#define CLUSTER_NODES_TYPE 2
26-
#define CLUSTER_NODES_MASTER_HASH 3
27-
#define CLUSTER_NODES_PING 4
28-
#define CLUSTER_NODES_PONG 5
29-
#define CLUSTER_NODES_EPOCH 6
30-
#define CLUSTER_NODES_CONNECTED 7
31-
#define CLUSTER_SLOTS 8
32-
3314
/* Complete representation for various commands in RESP */
3415
#define RESP_MULTI_CMD "*1\r\n$5\r\nMULTI\r\n"
3516
#define RESP_EXEC_CMD "*1\r\n$4\r\nEXEC\r\n"

0 commit comments

Comments
 (0)