Last active
November 26, 2019 23:29
-
-
Save antunesleo/640b60e65998d0a58ab8edd3f6c83050 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app = Celery('first_app', broker='redis://localhost/2') | |
# New code below | |
app.conf.task_routes = { | |
'celery_stuff.tasks.serve_a_beer': {'queue': 'beer'}, | |
'celery_stuff.tasks.serve_a_coffee': {'queue': 'coffee'} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment