Skip to content

Commit

Permalink
fix: network collection
Browse files Browse the repository at this point in the history
  • Loading branch information
abc3 committed Dec 17, 2024
1 parent 7a1fff7 commit 00e8005
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.10
2.0.11
2 changes: 0 additions & 2 deletions lib/supavisor/client_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,6 @@ defmodule Supavisor.ClientHandler do

db_pid = handle_db_pid(data.mode, data.pool, data.db_pid)

{_, stats} = Telem.network_usage(:client, data.sock, data.id, data.stats)

{_, stats} =
if not data.local,

Check warning on line 577 in lib/supavisor/client_handler.ex

View workflow job for this annotation

GitHub Actions / Code style

Avoid negated conditions in if-else blocks.
do: Telem.network_usage(:client, data.sock, data.id, data.stats),
Expand Down

0 comments on commit 00e8005

Please sign in to comment.