Skip to content

Commit

Permalink
Pass Telemetry reconnection metadata with :sync_connect (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
zbarnes757 authored Dec 12, 2022
1 parent 81a2e85 commit 28dbe3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/redix/connection.ex
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ defmodule Redix.Connection do
:telemetry.execute([:redix, :connection], %{}, %{
connection: self(),
connection_name: data.opts[:name],
address: address
address: address,
reconnection: false
})

{:ok, :connected, %__MODULE__{data | socket: socket, connected_address: address}}
Expand Down

0 comments on commit 28dbe3a

Please sign in to comment.