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:
68
68
large messages, large queues and more (de)serialising overheads so
69
69
should be avoided.
70
70
71
- - The tasks' module _ must_ be added to ` CELERY_IMPORTS ` .
71
+ - The tasks' module _ must_ be added to ` CELERY_IMPORTS ` _ and _ ` TASKWORKER_IMPORTS ` .
72
72
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
74
74
the worker has imported the module with the decorated task function
75
75
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
77
77
` src/sentry/conf/server.py ` .
78
+
79
+ We have a separate setting for the Taskbroker workers until we fully deprecate the Celery workers.
78
80
79
81
## Running a Worker
80
82
You can’t perform that action at this time.
0 commit comments