Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2019-02-19 18:55:34 +0300
committermichael-grunder <michael.grunder@gmail.com>2019-02-19 18:55:34 +0300
commit2ec7d91a7be50eac09567420e2a41e2f3f3f005c (patch)
treef3f78f243a600db39481b9af7206db94875aecde /redis_cluster.c
parentf89e941a8891ede511b1bac80fd13d0af4d58a71 (diff)
Remove dead code, fix min_argc for blocking commands
Diffstat (limited to 'redis_cluster.c')
-rw-r--r--redis_cluster.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/redis_cluster.c b/redis_cluster.c
index f9da1cc0..3eb267c4 100644
--- a/redis_cluster.c
+++ b/redis_cluster.c
@@ -1259,13 +1259,13 @@ PHP_METHOD(RedisCluster, rpush) {
/* {{{ proto array RedisCluster::blpop(string key1, ... keyN, long timeout) */
PHP_METHOD(RedisCluster, blpop) {
- CLUSTER_PROCESS_KW_CMD("BLPOP", redis_varkey_timeout_cmd, cluster_mbulk_resp, 0);
+ CLUSTER_PROCESS_KW_CMD("BLPOP", redis_blocking_pop_cmd, cluster_mbulk_resp, 0);
}
/* }}} */
/* {{{ proto array RedisCluster::brpop(string key1, ... keyN, long timeout */
PHP_METHOD(RedisCluster, brpop) {
- CLUSTER_PROCESS_KW_CMD("BRPOP", redis_varkey_timeout_cmd, cluster_mbulk_resp, 0);
+ CLUSTER_PROCESS_KW_CMD("BRPOP", redis_blocking_pop_cmd, cluster_mbulk_resp, 0);
}
/* }}} */
@@ -1874,12 +1874,12 @@ PHP_METHOD(RedisCluster, zpopmin) {
/* {{{ proto array RedisCluster::bzPopMin(Array keys [, timeout]) }}} */
PHP_METHOD(RedisCluster, bzpopmax) {
- CLUSTER_PROCESS_KW_CMD("BZPOPMAX", redis_varkey_timeout_cmd, cluster_mbulk_resp, 0);
+ CLUSTER_PROCESS_KW_CMD("BZPOPMAX", redis_blocking_pop_cmd, cluster_mbulk_resp, 0);
}
/* {{{ proto array RedisCluster::bzPopMax(Array keys [, timeout]) }}} */
PHP_METHOD(RedisCluster, bzpopmin) {
- CLUSTER_PROCESS_KW_CMD("BZPOPMIN", redis_varkey_timeout_cmd, cluster_mbulk_resp, 0);
+ CLUSTER_PROCESS_KW_CMD("BZPOPMIN", redis_blocking_pop_cmd, cluster_mbulk_resp, 0);
}
/* {{{ proto RedisCluster::sort(string key, array options) */