eladkal commented on code in PR #33045:
URL: https://github.com/apache/airflow/pull/33045#discussion_r1282238316


##########
airflow/providers/amazon/aws/operators/batch.py:
##########
@@ -223,7 +223,7 @@ def execute(self, context: Context):
                 timeout=self.execution_timeout,
                 trigger=BatchJobTrigger(
                     job_id=self.job_id,
-                    waiter_max_attempts=self.max_retries or 10,
+                    waiter_max_attempts=self.max_retries or 4200,

Review Comment:
   Can we not have it as a magic number?
   It already has definition in the hook and now separately here.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to