add retry mechanism for queries that fail due to throttling
DaniellePoleg opened this issue · comments
DaniellePoleg commented
Due to limited resources queries can fail, and the error message implies the query was throttled since the threshold was reached ((KustoServiceError(...), [{'error': {'code': 'Too many requests', 'message': 'Request is denied due to throttling.',)
We can add a retry mechanism with exponential backoff that will catch this exception and hopefully will decrease the failures.
Yonatan Most commented
This looks like a good package to use:
https://pypi.org/project/redo