From ac720a075370a042b8cb51057cb531b666b86957 Mon Sep 17 00:00:00 2001 From: HolgerHatGarKeineNode Date: Mon, 24 Nov 2025 00:58:40 +0100 Subject: [PATCH] =?UTF-8?q?=E2=8F=B1=EF=B8=8F=20Update=20queue=20and=20Hor?= =?UTF-8?q?izon=20configurations=20to=20use=2015-minute=20intervals?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Increased `retry_after` in `queue.php` to `60 * 15`. - Updated time-based settings in `horizon.php` (e.g., `waits`, `trim`, `timeout`) to use 15-minute intervals for consistency. --- config/horizon.php | 10 +++++----- config/queue.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/horizon.php b/config/horizon.php index e58cf7c..d9dc946 100644 --- a/config/horizon.php +++ b/config/horizon.php @@ -97,7 +97,7 @@ return [ */ 'waits' => [ - 'redis:default' => 60 * 2, // 2 minutes + 'redis:default' => 60 * 15, // 15 minutes ], /* @@ -112,9 +112,9 @@ return [ */ 'trim' => [ - 'recent' => 60 * 2, // 2 minutes - 'pending' => 60 * 2, // 2 minutes - 'completed' => 60 * 2, // 2 minutes + 'recent' => 60 * 15, // 15 minutes + 'pending' => 60 * 15, // 15 minutes + 'completed' => 60 * 15, // 15 minutes 'recent_failed' => 10080, 'failed' => 10080, 'monitored' => 10080, @@ -207,7 +207,7 @@ return [ 'maxJobs' => 0, 'memory' => 128, 'tries' => 1, - 'timeout' => 60 * 2, // 2 minutes + 'timeout' => 60 * 15, // 15 minutes 'nice' => 0, ], ], diff --git a/config/queue.php b/config/queue.php index 41613f6..174635b 100644 --- a/config/queue.php +++ b/config/queue.php @@ -67,7 +67,7 @@ return [ 'driver' => 'redis', 'connection' => env('REDIS_QUEUE_CONNECTION', 'default'), 'queue' => env('REDIS_QUEUE', 'default'), - 'retry_after' => (int) env('REDIS_QUEUE_RETRY_AFTER', 60 * 2), + 'retry_after' => (int) env('REDIS_QUEUE_RETRY_AFTER', 60 * 15), 'block_for' => null, 'after_commit' => false, ],