Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add retry mechanism for throttled requests #95

Merged
merged 1 commit into from
Apr 27, 2022
Merged

Conversation

alonadam
Copy link
Contributor

Use exponential backoff to retry throttled requests.

@github-actions
Copy link

Unit Test Results

    1 files  ±0    13 suites  ±0   12m 55s ⏱️ + 2m 54s
320 tests ±0  320 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit ceb929e. ± Comparison against base commit b63231b.

@codecov
Copy link

codecov bot commented Apr 26, 2022

Codecov Report

Merging #95 (ceb929e) into master (b63231b) will decrease coverage by 0.03%.
The diff coverage is 48.97%.

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
- Coverage   50.88%   50.85%   -0.04%     
==========================================
  Files          41       41              
  Lines        4500     4546      +46     
==========================================
+ Hits         2290     2312      +22     
- Misses       2052     2074      +22     
- Partials      158      160       +2     
Impacted Files Coverage Δ
kusto/conn.go 0.00% <0.00%> (ø)
kusto/data/errors/errors.go 62.67% <0.00%> (-3.49%) ⬇️
kusto/ingest/internal/resources/resources.go 62.88% <70.58%> (+1.15%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b63231b...ceb929e. Read the comment docs.

Copy link
Contributor

@AsafMah AsafMah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alonadam alonadam merged commit 5936442 into master Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants