From 79dca4ca3ba6b701b6ae1ac906ca43f9d97f4541 Mon Sep 17 00:00:00 2001 From: Charles Teh Date: Mon, 20 Nov 2023 00:57:13 +0800 Subject: [PATCH] Add (config): Horizon --- config/queue.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/queue.php b/config/queue.php index 30e13e6..f531fd6 100644 --- a/config/queue.php +++ b/config/queue.php @@ -31,10 +31,11 @@ 'connections' => [ 'default' => [ - 'driver' => 'database', - 'table' => 'jobs', - 'queue' => 'default', + 'driver' => 'redis', + 'connection' => 'default', + 'queue' => env('REDIS_QUEUE', 'default'), 'retry_after' => 90, + 'block_for' => null, 'after_commit' => false, ],