From 922d96e856e3a2aeae8b5593320c1c3abf591fa9 Mon Sep 17 00:00:00 2001 From: Eric Rosas Date: Thu, 29 Aug 2024 14:59:00 -0700 Subject: [PATCH] Make queue job TTR setting an env var Make queue job TTR setting an env var --- api/config/app.php | 2 +- api/config/app.web.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/config/app.php b/api/config/app.php index 84ced722..81bcf38a 100755 --- a/api/config/app.php +++ b/api/config/app.php @@ -63,7 +63,7 @@ }, 'queue' => [ 'class' => craft\queue\Queue::class, - 'ttr' => 3600, // one hour + 'ttr' => App::env('QUEUE_TTR'), ], ], 'bootstrap' => ['user-registration-module'], diff --git a/api/config/app.web.php b/api/config/app.web.php index cb85ba7c..b1f1ad20 100644 --- a/api/config/app.web.php +++ b/api/config/app.web.php @@ -31,7 +31,7 @@ }, 'queue' => [ 'class' => craft\queue\Queue::class, - 'ttr' => 3600, // one hour + 'ttr' => App::env('QUEUE_TTR'), ], ], ];