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

fix: Prevent conflicting provisioning requests #1025

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

morgsmccauley
Copy link
Collaborator

On fresh startup, all provisioning requests will be sent simultaneously. This creates problems when multiple requests for the same account are actioned in quick succession - both will attempt to create a virtual DB at the same time causing only one to succeed. The main driver for this is to make local development, especially on fresh install, less problematic.

This PR contains a simple fix to rate limit the provisioning requests from Coordinator to reduce the overlap between provisioning attempts, avoiding the problem described above. This does also rate limit get requests but they are infrequent so this shouldn't pose a problem.

@morgsmccauley morgsmccauley requested a review from a team as a code owner November 11, 2024 22:40
@morgsmccauley morgsmccauley merged commit 8cbd394 into main Nov 12, 2024
4 checks passed
@morgsmccauley morgsmccauley deleted the fix/conflicting-provisioning-requests branch November 12, 2024 01:13
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