You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by vi...@apache.org on 2024/02/07 22:03:11 UTC
(airflow) branch main updated: Update default value for `BatchSensor` (#37234)
This is an automated email from the ASF dual-hosted git repository.
vincbeck pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 1f1fa2f7e3 Update default value for `BatchSensor` (#37234)
1f1fa2f7e3 is described below
commit 1f1fa2f7e38a434c367d30129693b68fc9c3243a
Author: Vincent <97...@users.noreply.github.com>
AuthorDate: Wed Feb 7 17:03:05 2024 -0500
Update default value for `BatchSensor` (#37234)
---
airflow/providers/amazon/aws/sensors/batch.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/providers/amazon/aws/sensors/batch.py b/airflow/providers/amazon/aws/sensors/batch.py
index 04e59a56c9..24f08b2537 100644
--- a/airflow/providers/amazon/aws/sensors/batch.py
+++ b/airflow/providers/amazon/aws/sensors/batch.py
@@ -60,8 +60,8 @@ class BatchSensor(BaseSensorOperator):
aws_conn_id: str = "aws_default",
region_name: str | None = None,
deferrable: bool = conf.getboolean("operators", "default_deferrable", fallback=False),
- poke_interval: float = 5,
- max_retries: int = 5,
+ poke_interval: float = 30,
+ max_retries: int = 4200,
**kwargs,
):
super().__init__(**kwargs)