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

labib47's avatar

Job push on local but run in server

Hi , im currently implemented queue in my laravel project . Somehow i have meet with one problem wherever im pushing a job from my local machine , it will be process by laravel worker on server not on the local . Everytime i want to test my queue on local i need to turn off the supervisor on my server . Im using sqs . Thank you

0 likes
2 replies
ftiersch's avatar

You have to use a different queue. If both workers process the same queue your server will probably be faster to retrieve it from there.

So either you can:

  1. Create a second queue on SQS for testing (if you really need to test if SQS is working)
  2. Change your queue on local to something else if you only want to test if your jobs are working correctly

Please or to participate in this conversation.