Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ashitvora's avatar

What is the best way to start multiple workers and restart during deployment?

I've an app where I queue all the requests as they come in but looks like by default forge only creates one worker. Is there a way to start multiple workers so multiple requests can be handled simultaneously.

Also, is there a way to restart worker during every deployment so I don't have to manually do so every time from forge.

0 likes
1 reply
pmall's avatar

Put a hook somewhere, in git or with envoyer.

Having to reload the workers everytime is a real pain, I hope someday it will be fixed somehow. At least take env change in account.

Please or to participate in this conversation.