File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
develop-docs/backend/application-domains Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,15 @@ There are a few important points:
6868 large messages, large queues and more (de)serialising overheads so
6969 should be avoided.
7070
71- - The tasks' module _ must_ be added to ` CELERY_IMPORTS ` .
71+ - The tasks' module _ must_ be added to ` CELERY_IMPORTS ` _ and _ ` TASKWORKER_IMPORTS ` .
7272
73- Celery workers must find the task by name, they can only do so if
73+ Celery (and Taskbroker) workers must find the task by name, they can only do so if
7474 the worker has imported the module with the decorated task function
7575 because this is what registers the task by name. Thus every module
76- containing a task must be added to the ` CELERY_IMPORTS ` setting in
76+ containing a task must be added to the ` CELERY_IMPORTS ` and ` TASKWORKER_IMPORTS ` settings in
7777 ` src/sentry/conf/server.py ` .
78+
79+ We have a separate setting for the Taskbroker workers until we fully deprecate the Celery workers.
7880
7981## Running a Worker
8082
You can’t perform that action at this time.
0 commit comments