Skip to content

Commit

Permalink
Remove unused variables from connection manager (slackhq#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
brad-defined authored Nov 16, 2022
1 parent 85f5849 commit 813b64f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions connection_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ type connectionManager struct {
hostMap *HostMap
in map[iputil.VpnIp]struct{}
inLock *sync.RWMutex
inCount int
out map[iputil.VpnIp]struct{}
outLock *sync.RWMutex
outCount int
TrafficTimer *SystemTimerWheel
intf *Interface

Expand All @@ -40,10 +38,8 @@ func newConnectionManager(ctx context.Context, l *logrus.Logger, intf *Interface
hostMap: intf.hostMap,
in: make(map[iputil.VpnIp]struct{}),
inLock: &sync.RWMutex{},
inCount: 0,
out: make(map[iputil.VpnIp]struct{}),
outLock: &sync.RWMutex{},
outCount: 0,
TrafficTimer: NewSystemTimerWheel(time.Millisecond*500, time.Second*60),
intf: intf,
pendingDeletion: make(map[iputil.VpnIp]int),
Expand Down

0 comments on commit 813b64f

Please sign in to comment.