⏱️ Update queue and Horizon configurations to use 15-minute intervals

- 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.
This commit is contained in:
HolgerHatGarKeineNode
2025-11-24 00:58:40 +01:00
parent 33b599702c
commit ac720a0753
2 changed files with 6 additions and 6 deletions

View File

@@ -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,
],
],

View File

@@ -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,
],