From f2fe4068e7ad74303a09e5e0dfbe9d1db8dc7f1b Mon Sep 17 00:00:00 2001 From: Stas Date: Mon, 16 Dec 2024 17:36:59 +0100 Subject: [PATCH] fix: include ID in network usage computation --- lib/supavisor/db_handler.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/supavisor/db_handler.ex b/lib/supavisor/db_handler.ex index 1db39af5..10ad872c 100644 --- a/lib/supavisor/db_handler.ex +++ b/lib/supavisor/db_handler.ex @@ -314,7 +314,7 @@ defmodule Supavisor.DbHandler do {_, client_stats} = if not data.proxy, - do: Telem.network_usage(:client, data.client_sock, data.client_stats), + do: Telem.network_usage(:client, data.client_sock, data.id, data.client_stats), else: {nil, data.client_stats} %{data | stats: stats, active_count: 0, client_stats: client_stats}