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

Allow workloadapi backoff to be customized #269

Closed
strideynet opened this issue Mar 6, 2024 · 1 comment
Closed

Allow workloadapi backoff to be customized #269

strideynet opened this issue Mar 6, 2024 · 1 comment

Comments

@strideynet
Copy link
Contributor

I'm writing a test suite and one frustration is that I'm in a place where I don't know exactly when the listener will be ready for the Workload API client to connect. At the moment, I start the unit under test and the client at the same time, and then wait for the client to succeed.

The current linear backoff behaviour means that this test takes much longer to run than it needs to, as the first few attempts fail and then the backoff is increased.

I'd like to suggest a new ClientOption which allows the Backoff behaviour to be customised. I'm happy to raise a PR for this.

@azdagron
Copy link
Member

azdagron commented Oct 5, 2024

Thanks for raising this issue! This was implemented in #302.

@azdagron azdagron closed this as completed Oct 5, 2024
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

2 participants