You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/05/24 14:57:50 UTC
[GitHub] [airflow] Taragolis commented on issue #22381: AthenaOperator retries max_tries mix-up
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org