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:
authorAlexander Schranz <alexander@sulu.io>2018-11-19 22:40:15 +0300
committerAlexander Schranz <alexander@sulu.io>2018-11-19 22:40:15 +0300
commit1c8af747bd45823298ae2b26d1d83a7ea3ee7c2c (patch)
tree283a6a0b22300fbb85d75ac115efb63fb6d28f68 /README.markdown
parentffb6be330d3aaecceaa061431c815a4d5a942208 (diff)
fixed xclaim example min idle parameter
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown
index 34eb3cc6..c3d3f29b 100644
--- a/README.markdown
+++ b/README.markdown
@@ -3364,12 +3364,12 @@ $ids = ['1530113681011-0', '1530113681011-1', '1530113681011-2'];
/* Without any options */
$obj_redis->xClaim(
- 'mystream', 'group1', 'myconsumer1', $ids
+ 'mystream', 'group1', 'myconsumer1', 0, $ids
);
/* With options */
$obj_redis->xClaim(
- 'mystream', 'group1', 'myconsumer2', $ids,
+ 'mystream', 'group1', 'myconsumer2', 0, $ids,
[
'IDLE' => time() * 1000,
'RETRYCOUNT' => 5,