Skip to content

Commit

Permalink
Refresh synaptor before triggering it
Browse files Browse the repository at this point in the history
  • Loading branch information
ranlu committed Mar 21, 2024
1 parent 2d5b4e8 commit 6d9aaef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slackbot/airflow_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def wait_for_dag_refresh(dag_id):


def run_dag(dag_id, wait_for_completion=False):
dags_need_refresh = ["segmentation", "chunkflow_worker"]
dags_need_refresh = ["segmentation", "chunkflow_worker", "synaptor"]
if dag_id in dags_need_refresh:
wait_for_dag_refresh(dag_id)
dagrun = run_in_executor(__run_dag, dag_id)
Expand Down

0 comments on commit 6d9aaef

Please sign in to comment.