Skip to content

Commit 3ed5b94

Browse files
committed
2 parents 478287d + ac8a346 commit 3ed5b94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ $message = new \Delayer\Message([
4040
// 必须转换为string类型
4141
'body' => json_encode($data),
4242
]);
43+
// 第2个参数为延迟时间,第3个参数为延迟到期后如果任务没有被消费的最大生存时间
4344
$ret = $client->push($message, 20, 604800);
4445
var_dump($ret);
4546
```

0 commit comments

Comments
 (0)