Skip to content

Commit

Permalink
Make queue job TTR setting an env var
Browse files Browse the repository at this point in the history
Make queue job TTR setting an env var
  • Loading branch information
ericdrosas87 committed Aug 29, 2024
1 parent 7b78892 commit 922d96e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
},
'queue' => [
'class' => craft\queue\Queue::class,
'ttr' => 3600, // one hour
'ttr' => App::env('QUEUE_TTR'),
],
],
'bootstrap' => ['user-registration-module'],
Expand Down
2 changes: 1 addition & 1 deletion api/config/app.web.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
'queue' => [
'class' => craft\queue\Queue::class,
'ttr' => 3600, // one hour
'ttr' => App::env('QUEUE_TTR'),
],
],
];
Expand Down

0 comments on commit 922d96e

Please sign in to comment.