kosteev commented on pull request #11712:
URL: https://github.com/apache/airflow/pull/11712#issuecomment-713435935


   `_poll_with_exponential_delay` is intended to handle api-specific errors, in 
this case it retries in case of 429 error (and can be extended if needed).
   `num_retries` parameter for `execute` method activates retry mechanism for 
lower level errors, like `ConnectionError`/`socket.timeot`/`_ssl_SSLError`
   
https://github.com/googleapis/google-api-python-client/blob/master/googleapiclient/http.py#L136
   Btw, this parameter is used in all other hooks except this one.
   
   So, they are similar but handle different type of errors.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to