Ironankit525 opened a new pull request, #62731: URL: https://github.com/apache/airflow/pull/62731
**What happened:** The `OpenFaasHook` makes several outgoing HTTP requests to the OpenFaaS server using the `requests` library (`requests.post`, `requests.put`, `requests.get`). None of these requests currently specify a `timeout` argument. Without a timeout, an unresponsive OpenFaaS server could cause an Airflow task to hang indefinitely, tying up worker slots. **Fix:** All `requests` calls in `OpenFaasHook` now include a configurable `timeout` parameter (default 60 seconds), read from the connection's `extra` dictionary. Users can override the timeout via the connection configuration. -- 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]
