Skip to content

fix: bump replication connection backoff min and max#1762

Open
edgurgel wants to merge 2 commits intomainfrom
fix/bump-replication-connection-backoff-max
Open

fix: bump replication connection backoff min and max#1762
edgurgel wants to merge 2 commits intomainfrom
fix/bump-replication-connection-backoff-max

Conversation

@edgurgel
Copy link
Member

What kind of change does this PR introduce?

We can be less aggressive with the backoff

Copilot AI review requested due to automatic review settings March 19, 2026 22:32
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the tenant replication recovery retry behavior to be less aggressive by increasing the maximum exponential backoff, keeping retry logic intact while reducing churn during extended outages.

Changes:

  • Increase replication recovery backoff max from 15 seconds to 5 minutes in Realtime.Tenants.Connect.
  • Update the corresponding backoff configuration test assertion.
  • Add dashboard basic-auth credentials to make dev and make dev.orange commands (to satisfy runtime config requirements).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
lib/realtime/tenants/connect.ex Bumps replication recovery backoff_max to 5 minutes.
test/realtime/tenants/connect_test.exs Updates backoff max assertion to match new configuration.
Makefile Adds DASHBOARD_USER/DASHBOARD_PASSWORD env vars to dev server targets.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@edgurgel edgurgel force-pushed the fix/bump-replication-connection-backoff-max branch from ce4ae04 to af1b875 Compare March 20, 2026 01:16
@edgurgel edgurgel changed the title fix: bump replication connection backoff max fix: bump replication connection backoff min and max Mar 20, 2026
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.

3 participants