Skip to content

[Devtooling-1063] Logging when max retries hit #998

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

fergalmcl
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@HemanthDogiparthi12 HemanthDogiparthi12 left a comment

Choose a reason for hiding this comment

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

I think you have to log the error when the sdk is sleeping until the retry-after is reached. and retrying again .

look at this piece of code in apiclient.

private boolean waitBeforeRetry(long retryAfterMs){}

Adding a log here, solves the purpose of this ticket and gives more visibility to the user that SDK is in retry process.

"message":"Rate limit encountered. Retry the request in [retryAfterMs] seconds"

Copy link
Collaborator

@HemanthDogiparthi12 HemanthDogiparthi12 left a comment

Choose a reason for hiding this comment

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

Please do the same change for other SDKs as well.

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