diff options
author | Vitaliy Stepanyuk <vitaliy.stepanyuk@westwing.de> | 2016-03-30 12:22:02 +0300 |
---|---|---|
committer | Vitaliy Stepanyuk <vitaliy.stepanyuk@westwing.de> | 2016-03-30 12:22:02 +0300 |
commit | 32eb1c5f7da6ab2008c3f0a0ccbd5bb83cea8f38 (patch) | |
tree | c8bea8f468b0a622c9a3163a9765dc6e3d2b1ca6 /cluster_library.h | |
parent | 31b0531f8316901a8af345b399cfee3d96c019d7 (diff) |
Reduce number of connections to one cluster node by shuffling nodes.
Diffstat (limited to 'cluster_library.h')
-rw-r--r-- | cluster_library.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cluster_library.h b/cluster_library.h index f8266757..a265396e 100644 --- a/cluster_library.h +++ b/cluster_library.h @@ -458,6 +458,8 @@ int mbulk_resp_loop_zipdbl(RedisSock *redis_sock, zval *z_result, int mbulk_resp_loop_assoc(RedisSock *redis_sock, zval *z_result, long long count, void *ctx TSRMLS_DC); +static void fyshuffle(int *array, size_t len); + #endif /* vim: set tabstop=4 softtabstops=4 noexpandtab shiftwidth=4: */ |