Skip to content

Commit

Permalink
remove DefaultReceiveSessionTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbraemer committed Feb 1, 2022
1 parent 913b7a9 commit a4e768e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tunnel_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"io"
"net"
"sync"
"time"
)

// InboundTunnel represents an inbound tunnel.
Expand All @@ -35,10 +34,6 @@ type TunnelService struct {
UnimplementedTunnelServiceServer
}

// DefaultReceiveSessionTimeout is the default timeout to wait for the
// first stream message that must specify the session id.
const DefaultReceiveSessionTimeout = time.Second * 5

// Serve creates a gRPC server with the specified options and serves on the given listener.
// Signal the stop channel to stop the server and return.
// Remember that ctx.Done() can be passed as the stop argument.
Expand Down

0 comments on commit a4e768e

Please sign in to comment.