Skip to content

Commit

Permalink
fix: trying librabbitmq for celery backend!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed Jun 26, 2024
1 parent de9ca16 commit c6bc0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion celery_app/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
host = rabbit_creds["host"]
port = rabbit_creds["port"]

app = Celery("celery_app/tasks", broker=f"pyamqp://{user}:{password}@{host}:{port}//")
app = Celery("celery_app/tasks", broker=f"librabbitmq://{user}:{password}@{host}:{port}//")
app.autodiscover_tasks(["celery_app"])

0 comments on commit c6bc0c0

Please sign in to comment.