Skip to content

Commit

Permalink
Add retries to trigger rules
Browse files Browse the repository at this point in the history
Resolves #462
  • Loading branch information
joverlee521 committed Jul 12, 2024
1 parent 4f08afe commit 30d2393
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workflow/snakemake_rules/trigger.smk
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ rule trigger_rebuild_pipeline:
f"benchmarks/trigger_rebuild_pipeline_{database}.txt"
params:
dispatch_type = f"{database}/rebuild"
retries: 5
shell:
"""
./vendored/trigger-on-new-data \
Expand All @@ -41,6 +42,7 @@ rule trigger_counts_pipeline:
f"benchmarks/trigger_counts_pipeline_{database}.txt"
params:
dispatch_type = f"{database}/clade-counts"
retries: 5
shell:
"""
./vendored/trigger nextstrain/forecasts-ncov {params.dispatch_type}
Expand Down

0 comments on commit 30d2393

Please sign in to comment.