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:
818
818
.. image :: /_images/components/scheduler/generate_consume.png
819
819
:alt: Symfony Scheduler - generate and consume
820
820
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
+
821
829
Creating a Consumer Programmatically
822
830
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
823
831
@@ -981,6 +989,7 @@ helping you identify those messages when needed.
981
989
to redispatched messages was introduced in Symfony 6.4.
982
990
983
991
.. _`MakerBundle` : https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html
992
+ .. _`Deploying to Production` : https://symfony.com/doc/current/messenger.html#deploying-to-production
984
993
.. _`Memoizing` : https://en.wikipedia.org/wiki/Memoization
985
994
.. _`cron command-line utility` : https://en.wikipedia.org/wiki/Cron
986
995
.. _`crontab.guru website` : https://crontab.guru/
You can’t perform that action at this time.
0 commit comments