Azure / pykusto

Query Kusto like a pro from the comfort of your Jupyter notebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add retry mechanism for queries that fail due to throttling

DaniellePoleg opened this issue · comments

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.

This looks like a good package to use:
https://pypi.org/project/redo