diff options
author | michael-grunder <michael.grunder@gmail.com> | 2018-10-18 19:47:10 +0300 |
---|---|---|
committer | Michael Grunder <michael.grunder@gmail.com> | 2018-10-19 17:12:08 +0300 |
commit | 0b97ec3739d99f0778ff827cb58c011b92d27a74 (patch) | |
tree | b4892b7d5f37a6f8b2dfde4eaf6348e38ad694e8 /redis_cluster.c | |
parent | 7e3362c7ff646177c4f423b697ee088b6f4b3ba6 (diff) |
Update STREAM API to handle STATUS -> BULK reply change
Right before Redis 5.0 was released, the api was changed to send
message ids as BULK instead of STATUS replies.
Diffstat (limited to 'redis_cluster.c')
-rw-r--r-- | redis_cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis_cluster.c b/redis_cluster.c index 130b961a..8f10bcb0 100644 --- a/redis_cluster.c +++ b/redis_cluster.c @@ -2983,7 +2983,7 @@ PHP_METHOD(RedisCluster, xack) { /* {{{ proto string RedisCluster::xadd(string key, string id, array field_values) }}} */ PHP_METHOD(RedisCluster, xadd) { - CLUSTER_PROCESS_CMD(xadd, cluster_single_line_resp, 0); + CLUSTER_PROCESS_CMD(xadd, cluster_bulk_raw_resp, 0); } /* {{{ proto array RedisCluster::xclaim(string key, string group, string consumer, |