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'), ], ], ];