Skip to content

Commit

Permalink
Update Client.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Oct 13, 2021
1 parent 05ee302 commit 5e65740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public function __construct($address, $options = [], $callback = null)
$current_command = $current_queue[0][0];
$ignore_first_queue = in_array($current_command, ['BLPOP', 'BRPOP']);
$time = time();
$timeout = isset($this->_options['wait_timeout']) ? $this->_options['wait_timeout'] : 10;
$timeout = isset($this->_options['wait_timeout']) ? $this->_options['wait_timeout'] : 600;
$has_timeout = false;
$first_queue = true;
foreach ($this->_queue as $key => $queue) {
Expand Down

0 comments on commit 5e65740

Please sign in to comment.