Skip to content

Commit

Permalink
fix(ingest): Delay test data upload by 120 seconds so it only happens…
Browse files Browse the repository at this point in the history
… after new database up (#1449)

Slight temporary hack to make sure we always end up submitting data to the new database of the new deployment, not the old one that's still hanging around because ingest is up so fast.

I'll make this more robust later, but for now this ensures we always have data for previews to make everyone's lives easier.

Though we still want to ensure LAPIS is cleared after new deployment, see #1438
  • Loading branch information
corneliusroemer authored Mar 22, 2024
1 parent a996ba2 commit 59dc030
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ingest/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ rule submit_to_loculus:
log_level=LOG_LEVEL,
shell:
"""
sleep 120
python scripts/submit_to_loculus.py \
--mode submit \
--metadata {input.metadata} \
Expand Down

0 comments on commit 59dc030

Please sign in to comment.