How to use django tasks in a multi tenant system? #187
-
Hi, I have an app with multi tenancy made with django-tenants I was wondering if i could move from celery and django-celery-tenants to this package. Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
RealOrangeOne
Sep 16, 2025
Replies: 1 comment
-
Doing this would probably be quite difficult. You'd need the worker to pull its queues from all of the schemas at once, which is complex. Alternatively, have a single task queue, and just switch tenant inside the task. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RealOrangeOne
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doing this would probably be quite difficult. You'd need the worker to pull its queues from all of the schemas at once, which is complex. Alternatively, have a single task queue, and just switch tenant inside the task.