mirror of
https://github.com/Kovah/LinkAce.git
synced 2025-04-21 23:42:10 +02:00
Cap number of jobs ran via the schedule at one run
This commit is contained in:
parent
6cc05c1cb5
commit
3f1e484b9c
@ -9,7 +9,7 @@ class Kernel extends ConsoleKernel
|
||||
{
|
||||
protected function schedule(Schedule $schedule): void
|
||||
{
|
||||
$schedule->command('queue:work --queue=default,import')->withoutOverlapping();
|
||||
$schedule->command('queue:work --queue=default,import --max-jobs=30')->withoutOverlapping();
|
||||
|
||||
$schedule->command('links:check')->everyTwoHours()->withoutOverlapping();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user