mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-14 12:06:46 +00:00
⏱️ 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:
@@ -97,7 +97,7 @@ return [
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
'waits' => [
|
'waits' => [
|
||||||
'redis:default' => 60 * 2, // 2 minutes
|
'redis:default' => 60 * 15, // 15 minutes
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -112,9 +112,9 @@ return [
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
'trim' => [
|
'trim' => [
|
||||||
'recent' => 60 * 2, // 2 minutes
|
'recent' => 60 * 15, // 15 minutes
|
||||||
'pending' => 60 * 2, // 2 minutes
|
'pending' => 60 * 15, // 15 minutes
|
||||||
'completed' => 60 * 2, // 2 minutes
|
'completed' => 60 * 15, // 15 minutes
|
||||||
'recent_failed' => 10080,
|
'recent_failed' => 10080,
|
||||||
'failed' => 10080,
|
'failed' => 10080,
|
||||||
'monitored' => 10080,
|
'monitored' => 10080,
|
||||||
@@ -207,7 +207,7 @@ return [
|
|||||||
'maxJobs' => 0,
|
'maxJobs' => 0,
|
||||||
'memory' => 128,
|
'memory' => 128,
|
||||||
'tries' => 1,
|
'tries' => 1,
|
||||||
'timeout' => 60 * 2, // 2 minutes
|
'timeout' => 60 * 15, // 15 minutes
|
||||||
'nice' => 0,
|
'nice' => 0,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ return [
|
|||||||
'driver' => 'redis',
|
'driver' => 'redis',
|
||||||
'connection' => env('REDIS_QUEUE_CONNECTION', 'default'),
|
'connection' => env('REDIS_QUEUE_CONNECTION', 'default'),
|
||||||
'queue' => env('REDIS_QUEUE', '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,
|
'block_for' => null,
|
||||||
'after_commit' => false,
|
'after_commit' => false,
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user