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

pass along the backfill command pool to the task instance #62

Open
wants to merge 1 commit into
base: gh-2.0.2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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