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 <97131062+vincb...@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)

Reply via email to