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

feat: shorter retry connect timeout for proxy mode #462

Merged
merged 3 commits into from
Oct 25, 2024
Merged

Conversation

abc3
Copy link
Member

@abc3 abc3 commented Oct 8, 2024

No description provided.

@abc3 abc3 requested a review from a team as a code owner October 8, 2024 14:54
@@ -1120,7 +1120,7 @@ defmodule Supavisor.ClientHandler do
@spec timeout_subscribe_or_terminate(map()) :: :gen_statem.handle_event_result()
def timeout_subscribe_or_terminate(%{subscribe_retries: subscribe_retries} = data) do
if subscribe_retries < @subscribe_retries do
Logger.warning("ClientHandler: Retry subscribe")
Logger.warning("ClientHandler: Retry subscribe #{inspect(subscribe_retries)}")
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to implement structured logging in Supavisor.

lib/supavisor/tenants.ex Outdated Show resolved Hide resolved
@abc3 abc3 force-pushed the feat/retry_timeout branch from 703ad15 to 4b7f7fe Compare October 14, 2024 14:30
@abc3 abc3 merged commit b8da64c into v2 Oct 25, 2024
5 checks passed
@abc3 abc3 deleted the feat/retry_timeout branch October 25, 2024 11:41
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