diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-07-09 03:54:40 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 01:02:04 +0300 |
commit | 4462913cb7b9e46034c719df220cf85f6c400a25 (patch) | |
tree | fb3c75fd65f5d620929daf1b0e76f3f8775a535c /cluster_library.h | |
parent | ba9485d7ef881a99539882bba60106759cbc12e7 (diff) |
Added _masters method
Added a helper method RedisCluster::_masters to get every master
that phpredis knows about, for the purposes of things like
scanning across the whole keyspace
Diffstat (limited to 'cluster_library.h')
-rw-r--r-- | cluster_library.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cluster_library.h b/cluster_library.h index 26df6b2e..26b7406f 100644 --- a/cluster_library.h +++ b/cluster_library.h @@ -13,8 +13,8 @@ /* Minimum valid CLUSTER NODES line element count and the minimum we expect if there are slots */ -#define CLUSTER_MIN_NODE_LINE 8 -#define CLUSTER_MIN_SLOTS_COUNT 9 +#define CLUSTER_MIN_NODE_LINE 8 +#define CLUSTER_MIN_SLOTS_COUNT 9 /* Length of a cluster name */ #define CLUSTER_NAME_LEN 40 |