From 7ec36273884ee8750edaf623406c28c66c5db13a Mon Sep 17 00:00:00 2001 From: Stas Date: Wed, 13 Nov 2024 16:27:53 +0100 Subject: [PATCH] fix: send a db message on ready_on_query (#482) --- lib/supavisor/client_handler.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/supavisor/client_handler.ex b/lib/supavisor/client_handler.ex index 764fcfe7..3e8226bf 100644 --- a/lib/supavisor/client_handler.ex +++ b/lib/supavisor/client_handler.ex @@ -645,7 +645,7 @@ defmodule Supavisor.ClientHandler do :ready_for_query -> Logger.debug("ClientHandler: Client is ready") - :ok = sock_send_maybe_active_once(bin, data) + :ok = HandlerHelpers.sock_send(data.sock, bin) db_pid = handle_db_pid(data.mode, data.pool, data.db_pid)