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

add a sleep before the backoff and polling mechanisms for volume crea… #813

Closed
wants to merge 1 commit into from

Conversation

outscale-hmi
Copy link
Contributor

What is this PR about? / Why do we need it?
On a random Outscale account (shared among several developers) it tooks 4s on average.

Adding a sleep command before initiating the backoff and polling logic is to ensure that the volume creation have enough time to start properly before checking their status.
This ensures that the backoff logic is applied only when necessary and after the initial setup time has been accounted for and help avoid issues where the polling might start before the operation has had a chance to initiate, which could lead to unnecessary retries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant