Skip to content

Commit 1c8af74

Browse files
fixed xclaim example min idle parameter
1 parent ffb6be3 commit 1c8af74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3364,12 +3364,12 @@ $ids = ['1530113681011-0', '1530113681011-1', '1530113681011-2'];
33643364

33653365
/* Without any options */
33663366
$obj_redis->xClaim(
3367-
'mystream', 'group1', 'myconsumer1', $ids
3367+
'mystream', 'group1', 'myconsumer1', 0, $ids
33683368
);
33693369

33703370
/* With options */
33713371
$obj_redis->xClaim(
3372-
'mystream', 'group1', 'myconsumer2', $ids,
3372+
'mystream', 'group1', 'myconsumer2', 0, $ids,
33733373
[
33743374
'IDLE' => time() * 1000,
33753375
'RETRYCOUNT' => 5,

0 commit comments

Comments
 (0)