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: DB tunnel fails with high frequency #893

Merged
merged 1 commit into from
Jan 22, 2025
Merged

fix: DB tunnel fails with high frequency #893

merged 1 commit into from
Jan 22, 2025

Conversation

davidgamez
Copy link
Member

Summary:

Add retry loop to DB tunnel creation. This PR adds retries every 5 seconds 12 times for a maximum waiting time of 60 seconds.

Fixes #825

Expected behavior:

DB tunnel is consistently created.

Testing tips:

Run the tunnel_create.sh against an environment where the bastion is down. This will increase the probability of seeing the retry and success messages at least once.

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the unit tests with ./scripts/api-tests.sh to make sure you didn't break anything
  • Add or update any needed documentation to the repo
  • Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)

@davidgamez davidgamez merged commit 8e7ae21 into main Jan 22, 2025
3 checks passed
@davidgamez davidgamez deleted the fix/db_tunnel branch January 22, 2025 19:51
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.

DB tunnel fails with high frequency
2 participants