mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing broken exchanges for celery by adding a binding_key. Rather use the default of 'celery' than have to configure a silly binding_key on each machine. Just use the default.
This commit is contained in:
parent
9d265e9db0
commit
ad398a78b4
1 changed files with 6 additions and 4 deletions
10
settings.py
10
settings.py
|
@ -227,18 +227,20 @@ import djcelery
|
|||
djcelery.setup_loader()
|
||||
CELERY_ROUTES = {
|
||||
"apps.rss_feeds.tasks.NewFeeds": {
|
||||
"queue": "new_feeds"
|
||||
"queue": "new_feeds",
|
||||
"binding_key": "celery"
|
||||
},
|
||||
"apps.rss_feeds.tasks.UpdateFeeds": {
|
||||
"queue": "update_feeds"
|
||||
"queue": "update_feeds",
|
||||
"binding_key": "celery"
|
||||
},
|
||||
}
|
||||
CELERY_QUEUES = {
|
||||
"new_feeds": {
|
||||
"binding_key": "new_feeds"
|
||||
"binding_key": "celery"
|
||||
},
|
||||
"update_feeds": {
|
||||
"binding_key": "update_feeds"
|
||||
"binding_key": "celery"
|
||||
},
|
||||
}
|
||||
CELERY_DEFAULT_QUEUE = "update_feeds"
|
||||
|
|
Loading…
Add table
Reference in a new issue