I was sending campaigns and the queued batches were failing:
The process "'/usr/bin/php8.2' '/srv/www/website.com/craft' 'queue/exec' '205108' '300' '1' '1438' '--verbose=1' '--color='" exceeded the timeout of 300 seconds.
So in my /config.php I have the following setting to increase TTR / Time to Reserve:
'components' => [
'queue' => [
'ttr' => 3600, // increase the Time to Reserve to let all jobs run for an hour if need be Avoids 300ms timeout
],
],
I see that other queued items see this setting, but campaign sendouts always seem to be set to 300.
Not sure if this is a Campaigns issue, or a CraftCMS issue tho.
I was sending campaigns and the queued batches were failing:
So in my
/config.php
I have the following setting to increase TTR / Time to Reserve:I see that other queued items see this setting, but campaign sendouts always seem to be set to
300
. Not sure if this is a Campaigns issue, or a CraftCMS issue tho.