File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 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"
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments