fix backfill crashing
This commit is contained in:
Родитель
cd3be9b7a4
Коммит
d113822ffc
|
@ -243,7 +243,11 @@ class BackfillJob(BaseJob):
|
||||||
ti,
|
ti,
|
||||||
)
|
)
|
||||||
tis_to_be_scheduled.append(ti)
|
tis_to_be_scheduled.append(ti)
|
||||||
ti_status.running.pop(reduced_key)
|
try:
|
||||||
|
ti_status.running.pop(reduced_key)
|
||||||
|
except KeyError:
|
||||||
|
# the task is not running
|
||||||
|
pass
|
||||||
ti_status.to_run[ti.key] = ti
|
ti_status.to_run[ti.key] = ti
|
||||||
|
|
||||||
# Batch schedule of task instances
|
# Batch schedule of task instances
|
||||||
|
|
Загрузка…
Ссылка в новой задаче