Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

docker: automatiser messenger #7

Closed
jgauthi opened this issue Jul 1, 2023 · 1 comment
Closed

docker: automatiser messenger #7

jgauthi opened this issue Jul 1, 2023 · 1 comment

Comments

@jgauthi
Copy link
Owner

jgauthi commented Jul 1, 2023

Todo (sous réserve de faisabilité):

  • Automatiser la commande make messenger ou symfony messenger:consume async pour ne pas avoir à la lancer manuellement.
@jgauthi
Copy link
Owner Author

jgauthi commented Jul 1, 2023

https://symfony.com/doc/current/messenger.html#consuming-messages-running-the-worker

Use a Process Manager like Supervisor or systemd to keep your worker(s) running

  • You'll want one or more "workers" running at all times. To do that, use a process control system like Supervisor or systemd.

Supervisor is a great tool to guarantee that your worker process(es) is always running (even if it closes due to failure, hitting a message limit or thanks to messenger:stop-workers).

✔️ Tester Supervisor ? Yes

@jgauthi jgauthi closed this as completed in 35be31e Jul 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant