Skip to content

Commit

Permalink
Merge branch '7.1' into 7.2
Browse files Browse the repository at this point in the history
* 7.1:
  Minor tweaks
  [Scheduler] Add some pointers regarding worker processes deployment
  • Loading branch information
javiereguiluz committed Dec 10, 2024
2 parents effd9bd + 5868840 commit db324ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scheduler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,13 @@ the Messenger component:
.. image:: /_images/components/scheduler/generate_consume.png
:alt: Symfony Scheduler - generate and consume

.. tip::

Depending on your deployment scenario, you may prefer automating the execution of
the Messenger worker process using tools like cron, Supervisor, or systemd.
This ensures workers are running continuously. For more details, refer to the
`Deploying to Production`_ section of the Messenger component documentation.

Creating a Consumer Programmatically
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -970,6 +977,7 @@ When using the ``RedispatchMessage``, Symfony will attach a
helping you identify those messages when needed.

.. _`MakerBundle`: https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html
.. _`Deploying to Production`: https://symfony.com/doc/current/messenger.html#deploying-to-production
.. _`Memoizing`: https://en.wikipedia.org/wiki/Memoization
.. _`cron command-line utility`: https://en.wikipedia.org/wiki/Cron
.. _`crontab.guru website`: https://crontab.guru/
Expand Down

0 comments on commit db324ea

Please sign in to comment.