这是一个一般性的问题,我寻求答案,因为我看到了一个芹菜任务,从我的公司代码库从以前的雇员。这是一个共享任务,它调用一个端点,如def celery_task_here(some_args):
data = get_data现在我理解的是,这将使服务器完成所有的工作,而不利用芹菜的优势,但我确实看到了芹菜日志在本地运行时产生的查询。我想知道到底是谁在做这个工作,芹菜还是django服务器?
我正在执行芹菜所说的。celery.py
# set the default Django settings module for the 'celery[2021-05-18 03:21:29,974: CRITICAL/MainProcess] Unrecoverable error: ModuleNotFoundError("No module named_bootstrap>", line 984, in _fi