From 69f85a2e5a392c93414b5973d922b12b7ad46195 Mon Sep 17 00:00:00 2001 From: Graem Lourens Date: Thu, 17 Dec 2020 14:22:40 +0100 Subject: [PATCH] Considering queue config parameter 'after_commit' (#948) --- src/Connectors/RedisConnector.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Connectors/RedisConnector.php b/src/Connectors/RedisConnector.php index 318d5b1c..b987ac44 100644 --- a/src/Connectors/RedisConnector.php +++ b/src/Connectors/RedisConnector.php @@ -20,7 +20,8 @@ public function connect(array $config) $this->redis, $config['queue'], Arr::get($config, 'connection', $this->connection), Arr::get($config, 'retry_after', 60), - Arr::get($config, 'block_for', null) + Arr::get($config, 'block_for', null), + Arr::get($config, 'after_commit', null) ); } }