0
  • Laravel ^11.0
  • Octane ^2.2
  • Server FrankenPHP
  • RabbitMQ

I have a backend using laravel octane, then I change the database connection ip. To get the new database data it has been detected. However, I have a problem when using the job queue, it turns out that the supervisor is still using the old database connection ip, so the process that should go to the new database goes to the old database. Maybe there are suggestions that I can do

1 Answer 1

0

For queue deployments, you should run the following commands as stated in the laravel docs.

php artisan queue:restart

For me, I also make sure to restart the supervisor as well.

supervisorctl restart laravel-queue

Change the laravel-queue to your proper supervisor process name.

I haven't used octane, but I'm pretty confident that restarting the queue should reflect those changes.

Hope this helps.

Regards,

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.