1
0
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:
Kovah 2025-01-30 13:27:23 +01:00
parent 6cc05c1cb5
commit 3f1e484b9c

View File

@ -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();