Skip to content

Commit

Permalink
Merge pull request #278 from francislavoie/patch-1
Browse files Browse the repository at this point in the history
[5.6] Support block_for config option
  • Loading branch information
taylorotwell authored Jan 17, 2018
2 parents 53715a8 + 1ba3836 commit b8685ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Connectors/RedisConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public function connect(array $config)
return new RedisQueue(
$this->redis, $config['queue'],
Arr::get($config, 'connection', $this->connection),
Arr::get($config, 'retry_after', 60)
Arr::get($config, 'retry_after', 60),
Arr::get($config, 'block_for', 0)
);
}
}

0 comments on commit b8685ba

Please sign in to comment.