优化
This commit is contained in:
@@ -36,8 +36,7 @@ def fail_task():
|
|||||||
|
|
||||||
default_args = {
|
default_args = {
|
||||||
"owner": "airflow",
|
"owner": "airflow",
|
||||||
"retries": 1,
|
"retries": 0,
|
||||||
"retry_delay": timedelta(minutes=5),
|
|
||||||
"on_failure_callback": send_dingding_alert, # 任务失败时触发钉钉告警
|
"on_failure_callback": send_dingding_alert, # 任务失败时触发钉钉告警
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user