Skip to content

Commit

Permalink
remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
benjirewis committed Jan 3, 2025
1 parent 18555b3 commit e46aa9d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions robot/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,15 +428,7 @@ func (rc *RobotClient) connectWithLock(ctx context.Context) error {
dialOptionsWebRTCOnly[0] = rpc.WithDisableDirectGRPC()

dialLogger := rc.logger.Sublogger("networking")

// This dial seems to hang for 10 seconds, and it's not exactly clear why.
// Doesn't seem to have to do with reconfiguring, just some inner timeout
// probably related to checking for something? But what?

dialLogger.Info("DBG-BENJI Start of gRPC dial")
conn, err := grpc.Dial(ctx, rc.address, dialLogger, dialOptionsWebRTCOnly...)
dialLogger.Info("DBG-BENJI End of gRPC dial")

if err == nil {
// If we succeed with a webrtc connection, flip the `serverIsWebrtcEnabled` to force all future
// connections to use webrtc.
Expand Down

0 comments on commit e46aa9d

Please sign in to comment.