Skip to content

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