File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -818,6 +818,14 @@ the Messenger component:
818818 .. image :: /_images/components/scheduler/generate_consume.png
819819 :alt: Symfony Scheduler - generate and consume
820820
821+ .. tip ::
822+
823+ Depending on your deployment scenario, instead of manually executing this
824+ Messenger worker process, you might want to run it with cron, supervisor or systemd,
825+ and ensure workers are running at all times. Check out the `Deploying to Production `_
826+ section of the Messenger component documentation.
827+
828+
821829Creating a Consumer Programmatically
822830~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
823831
@@ -981,6 +989,7 @@ helping you identify those messages when needed.
981989 to redispatched messages was introduced in Symfony 6.4.
982990
983991.. _`MakerBundle` : https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html
992+ .. _`Deploying to Production` : https://symfony.com/doc/current/messenger.html#deploying-to-production
984993.. _`Memoizing` : https://en.wikipedia.org/wiki/Memoization
985994.. _`cron command-line utility` : https://en.wikipedia.org/wiki/Cron
986995.. _`crontab.guru website` : https://crontab.guru/
You can’t perform that action at this time.
0 commit comments