Taragolis commented on issue #22381:
URL: https://github.com/apache/airflow/issues/22381#issuecomment-1136039982
Is this argument actually required in this use case? I think BaseOperator
have parameter `execution_timeout` for this purpose.
If user want to terminate task after 10 minutes IMHO better set it
explicitly, rather than calculate 40 * 15 = 10 min, for example
```
AthenaOperator(
...
sleep_time=15,
execution_timeout=timedelta(minutes=10)
...)
```
Probably better mark deprecate `max_tries` for AthenaOperator and
EmrContainerOperator and remove entirely in further releases
--
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]