GitHub user adwk67 edited a discussion: Airflow 3.0.1: Where is 
AIRFLOW__API__WORKER_TIMEOUT used internally?

Looking at the source code it seems as though the worker timout is set by the 
`-t` argument, but does not refer to the environment variable 
[AIRFLOW__API__WORKER_TIMEOUT](https://airflow.apache.org/docs/apache-airflow/3.0.1/configurations-ref.html#worker-timeout):
 see 
[here](https://github.com/apache/airflow/blob/3.0.1/airflow-core/src/airflow/cli/cli_config.py#L601-L606)
 for the CLI callout:

```python
ARG_API_SERVER_WORKER_TIMEOUT = Arg(
    ("-t", "--worker-timeout"),
    default=120,
    type=int,
    help="The timeout for waiting on API server workers",
)
```
Can `AIRFLOW__API__WORKER_TIMEOUT` used to achieve the same thing? (I can't 
find anything in the source code that suggests it is)

GitHub link: https://github.com/apache/airflow/discussions/56035

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to