-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Description
It is possible to limit the number of php processes that get spawned?
I'm using this package to copy huge amounts of data after an upgrade takes place of my web app, and I don't mind if it takes 1 hour or 24 hours or more. However if there are millions of rows of data that need to get copied, the queue spawns over 100 php processes and CPU usages sits at 100% until most of the queue jobs are down.
Using ->delay(30) still spawns the php processes, but just delays them running, so the CPU still gets pegged.
Is there a way to keep the number of php process spawned to 5 or any number I choose? i.e. ->limitProc(5)
Metadata
Metadata
Assignees
Labels
No labels