Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
pass along the backfill command pool to the ti
Browse files Browse the repository at this point in the history
  • Loading branch information
kimyen authored and whitleykeith committed Sep 15, 2022
1 parent 73f70e0 commit 4ade014
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions airflow/jobs/backfill_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,9 @@ def _per_task_process(key, ti, session=None): # pylint: disable=too-many-return
):
cfg_path = tmp_configuration_copy()

# pass along the backfill command pool arg to the ti
if self.pool:
ti.pool = self.pool
executor.queue_task_instance(
ti,
mark_success=self.mark_success,
Expand Down

0 comments on commit 4ade014

Please sign in to comment.