Lee-W commented on code in PR #53080: URL: https://github.com/apache/airflow/pull/53080#discussion_r2196326425
########## providers/amazon/src/airflow/providers/amazon/aws/hooks/ecs.py: ########## @@ -29,6 +33,9 @@ def should_retry(exception: Exception): """Check if exception is related to ECS resource quota (CPU, MEM).""" + if isinstance(exception, EcsCannotPullContainerError): + return False + if isinstance(exception, EcsOperatorError): Review Comment: I think there're cases suitable for retry with a reasonable wait time. e.g., [ERROR: toomanyrequests: Too Many Requests or You have reached your pull rate limit.](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_cannot_pull_image.html#container-pull-too-many-requests) -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org