vasilisgav commented on issue #36070:
URL: https://github.com/apache/airflow/issues/36070#issuecomment-1841398051

   I think this will do the trick
   ```
   git diff
   diff --git a/airflow/providers/airbyte/hooks/airbyte.py 
b/airflow/providers/airbyte/hooks/airbyte.py
   index f0b68e1ad5..b1683654eb 100644
   --- a/airflow/providers/airbyte/hooks/airbyte.py
   +++ b/airflow/providers/airbyte/hooks/airbyte.py
   @@ -63,6 +63,7 @@ class AirbyteHook(HttpHook):
            start = time.monotonic()
            while True:
                if timeout and start + timeout < time.monotonic():
   +                self.cancel_job(int(job_id))
                    raise AirflowException(f"Timeout: Airbyte job {job_id} is 
not ready after {timeout}s")
                time.sleep(wait_seconds)
                try:
   ```


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to