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

[FEATURE] Control number of retries per call #289

Open
satviksr-db opened this issue May 16, 2024 · 0 comments
Open

[FEATURE] Control number of retries per call #289

satviksr-db opened this issue May 16, 2024 · 0 comments

Comments

@satviksr-db
Copy link
Contributor

Problem Statement
Currently, the SDK automatically retries API calls 4 times before failing

Proposed Solution
While the default is good, it would be good if we could configure the number of retries we want per call or atleast choose not to retry

something like

workspaceClient.withoutRetries().callApi()

Additional Context
We have a usecase where we need to continuously call an endpoint, however if its failing, we would prefer not retrying

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

No branches or pull requests

1 participant