turbaszek commented on a change in pull request #8559:
URL: https://github.com/apache/airflow/pull/8559#discussion_r415123039
##########
File path: airflow/cli/commands/celery_command.py
##########
@@ -125,7 +125,10 @@ def worker(args):
}
if conf.has_option("celery", "pool"):
- options["pool"] = conf.get("celery", "pool")
+ pool = conf.get("celery", "pool")
+ options["pool"] = pool
+ from celery import maybe_patch_concurrency
Review comment:
Let's move this import to the top, we are importing whole celery anyway
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]