diff options
author | michael-grunder <michael.grunder@gmail.com> | 2019-02-19 18:55:34 +0300 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2019-02-19 18:55:34 +0300 |
commit | 2ec7d91a7be50eac09567420e2a41e2f3f3f005c (patch) | |
tree | f3f78f243a600db39481b9af7206db94875aecde /redis.c | |
parent | f89e941a8891ede511b1bac80fd13d0af4d58a71 (diff) |
Remove dead code, fix min_argc for blocking commands
Diffstat (limited to 'redis.c')
-rw-r--r-- | redis.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1378,14 +1378,14 @@ PHP_METHOD(Redis, rPop) /* {{{ proto string Redis::blPop(string key1, string key2, ..., int timeout) */ PHP_METHOD(Redis, blPop) { - REDIS_PROCESS_KW_CMD("BLPOP", redis_varkey_timeout_cmd, redis_sock_read_multibulk_reply); + REDIS_PROCESS_KW_CMD("BLPOP", redis_blocking_pop_cmd, redis_sock_read_multibulk_reply); } /* }}} */ /* {{{ proto string Redis::brPop(string key1, string key2, ..., int timeout) */ PHP_METHOD(Redis, brPop) { - REDIS_PROCESS_KW_CMD("BRPOP", redis_varkey_timeout_cmd, redis_sock_read_multibulk_reply); + REDIS_PROCESS_KW_CMD("BRPOP", redis_blocking_pop_cmd, redis_sock_read_multibulk_reply); } /* }}} */ @@ -2170,13 +2170,13 @@ PHP_METHOD(Redis, zPopMin) /* {{{ proto Redis::bzPopMax(Array(keys) [, timeout]): Array */ PHP_METHOD(Redis, bzPopMax) { - REDIS_PROCESS_KW_CMD("BZPOPMAX", redis_varkey_timeout_cmd, redis_sock_read_multibulk_reply); + REDIS_PROCESS_KW_CMD("BZPOPMAX", redis_blocking_pop_cmd, redis_sock_read_multibulk_reply); } /* }}} */ /* {{{ proto Redis::bzPopMin(Array(keys) [, timeout]): Array */ PHP_METHOD(Redis, bzPopMin) { - REDIS_PROCESS_KW_CMD("BZPOPMIN", redis_varkey_timeout_cmd, redis_sock_read_multibulk_reply); + REDIS_PROCESS_KW_CMD("BZPOPMIN", redis_blocking_pop_cmd, redis_sock_read_multibulk_reply); } /* }}} */ |