AutomationDev85 commented on code in PR #60254:
URL: https://github.com/apache/airflow/pull/60254#discussion_r2675593986


##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/hooks/kubernetes.py:
##########
@@ -1069,6 +1080,7 @@ async def get_job_status(self, name: str, namespace: str) 
-> V1Job:
             job: V1Job = await v1_api.read_namespaced_job_status(
                 name=name,
                 namespace=namespace,
+                **with_timeout(),

Review Comment:
   @jscheffl  Thank you for the response. After reconsidering overnight, I 
realized that setting a default timeout this way isn’t ideal. I’ve implemented 
a different approach: a wrapper around both the sync and async API clients that 
injects a client-side timeout into all API calls.



-- 
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]

Reply via email to