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

Open
strideynet opened this issue Mar 6, 2024 · 0 comments
Open

Allow workloadapi backoff to be customized #269

strideynet opened this issue Mar 6, 2024 · 0 comments

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.

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