Explorar o código

fix: startup_timeout_seconds=120

Zhang Li %!s(int64=2) %!d(string=hai) anos
pai
achega
786778cd3f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/core/airflow/templates/dag_template.py.jinja2

+ 1 - 0
app/core/airflow/templates/dag_template.py.jinja2

@@ -59,6 +59,7 @@ with DAG(start_date=datetime(2022,6,1),catchup=False,schedule_interval=None if '
                                                                     random_name_suffix=True,
                                                                     labels={'app':'backend', 'env':'dev', 'run_ts':{{ "'{{ ts_nodash }}'" }} },
                                                                     reattach_on_restart=True,
+                                                                    startup_timeout_seconds=600,
                                                                     is_delete_operator_pod=False,
                                                                     get_logs=True,
                                                                     {% if image_pull_key != None or image_pull_key != ""%}image_pull_secrets='{{ image_pull_key }}',{% endif %}