Skip to content

Commit 51629d4

Browse files
committed
fix(retrieval): Don't run failure hook in waiting flow
The parent flow will call the error hook
1 parent 463c47d commit 51629d4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

backend/archiver/flows/retrieve_datasets_flow.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ def find_oldest_dataset_flow(
189189

190190
@flow(
191191
name="wait_for_retrieval_flow",
192-
log_prints=True,
193-
on_failure=[on_job_flow_failure],
192+
log_prints=True
194193
)
195194
async def wait_for_retrieval_flow(flow_run_id: uuid.UUID):
196195
flow_run: FlowRun = await wait_for_flow_run(flow_run_id, log_states=True, timeout=None, poll_interval=60)

0 commit comments

Comments
 (0)