File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1111stopwaitsecs={{ $config -> timeout ? $config -> timeout : 600 } }
1212stopsignal=TERM
1313
14- @foreach ($config -> fallback_connections as $fallbackConnection )
15- [program:laravel-worker-{{ $config -> name } } -fallback-{{ $fallbackConnection } } ]
14+ @endforeach
15+
16+ @foreach ($fallbackConnections as $fallbackConnection )
17+ [program:laravel-worker-fallback-{{ $fallbackConnection } } ]
1618process_name=%(program_name)s_%(process_num)02d
17- command=php {{ config (' queue_manager.artisan_path' )} } queue-manager:work --queue= {{ $config -> name } } -- sleep=60 --tries={{ $config -> max_attempts ? $config -> max_attempts : 5 } } --timeout={{ $config -> timeout ? $config -> timeout : 0 } } {{ $fallbackConnection } }
19+ command=php {{ config (' queue_manager.artisan_path' )} } queue-manager:work --sleep=60 --tries=5 --timeout=600 {{ $fallbackConnection } }
1820autostart=true
1921autorestart=true
2022user={{ config (' queue_manager.supervisor_user' )} }
21- numprocs={{ $config -> active ? 1 : 0 } }
23+ numprocs=1
2224redirect_stderr=true
2325stdout_logfile={{ config (' queue_manager.log_path' )} }
24- stopwaitsecs={{ $config -> timeout ? $config -> timeout : 600 } }
26+ stopwaitsecs=600
2527stopsignal=TERM
2628
2729@endforeach
28-
29- @endforeach
You can’t perform that action at this time.
0 commit comments