Skip to content

Commit

Permalink
do not mark as done conn
Browse files Browse the repository at this point in the history
  • Loading branch information
sredny buitrago authored and sredny buitrago committed Oct 23, 2024
1 parent c19b9ed commit b2951d6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rpc/rpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,6 @@ func Connect(connConfig Config, suppressRegister bool, dispatcherFuncs map[strin
conn.Write([]byte("proto2"))
conn.Write([]byte{byte(len(connID))})
conn.Write([]byte(connID))
// only mark as done is connection is established
connectionDialingWG.Done()

return conn, nil
}
Expand Down

0 comments on commit b2951d6

Please sign in to comment.