Skip to content

Commit f4d5622

Browse files
authored
Update scheduler.rst
Reminder on adding the new transport for the scheduler in the messenger.yaml config file.
1 parent 991d5c4 commit f4d5622

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scheduler.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,10 @@ the Messenger component:
827827
This ensures workers are running continuously. For more details, refer to the
828828
`Deploying to Production`_ section of the Messenger component documentation.
829829

830+
.. note::
831+
Add a new transport in your ``messenger.yaml`` config file to reflect the name of your schedule.
832+
For example: If you are using the ``default`` scheduler, add this new entry under transports: ```scheduler_default: "%env(MESSENGER_TRANSPORT_DSN)%"```
833+
830834
Creating a Consumer Programmatically
831835
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
832836

0 commit comments

Comments
 (0)