Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Commit 65e30c7

Browse files
Updated the default settings
1 parent 091a7e8 commit 65e30c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Locker.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function __construct(ClientInterface $redis)
5858
*
5959
* @return mixed
6060
*/
61-
public function execute(Closure $function, $name, $timeout = 10000, $play = 500, $interval = 200, $trys = 64)
61+
public function execute(Closure $function, $name, $timeout = 20000, $play = 500, $interval = 100, $trys = 128)
6262
{
6363
$lock = new Lock($this->redis, $name, $timeout, $play, $interval, $trys);
6464

0 commit comments

Comments
 (0)