Skip to content

Commit

Permalink
Use other magic numbers for the CLUSTER_MOVED_SLOT constants
Browse files Browse the repository at this point in the history
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
  • Loading branch information
zuiderkwast committed Apr 12, 2024
1 parent 90f58c7 commit 1cd6dda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cluster_legacy.c
Expand Up @@ -308,8 +308,8 @@ typedef struct {
} clusterMsgSendBlock;

/* Special values for server.cluster->moved_slot_since_sleep */
#define CLUSTER_MOVED_SLOT_NONE -1
#define CLUSTER_MOVED_SLOT_MULTIPLE -2
#define CLUSTER_MOVED_SLOT_NONE -2
#define CLUSTER_MOVED_SLOT_MULTIPLE -3

/* -----------------------------------------------------------------------------
* Initialization
Expand Down

0 comments on commit 1cd6dda

Please sign in to comment.