diff options
author | Igor Wiedler <iwiedler@gitlab.com> | 2021-03-12 14:52:04 +0300 |
---|---|---|
committer | Igor Wiedler <iwiedler@gitlab.com> | 2021-03-16 13:05:19 +0300 |
commit | 51b1418d7902dc37a12ae8360400bf166f20ed77 (patch) | |
tree | 7bc5cd9aafb9db4b5a67964b628c2c1cf918ffcc /internal | |
parent | f5df24b6578aded39f69107a768925b6d34e3ebd (diff) |
remove unused lock
Diffstat (limited to 'internal')
-rw-r--r-- | internal/netutil/shared_limit_listener.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/netutil/shared_limit_listener.go b/internal/netutil/shared_limit_listener.go index 05bf401e..cdfa1b39 100644 --- a/internal/netutil/shared_limit_listener.go +++ b/internal/netutil/shared_limit_listener.go @@ -30,7 +30,6 @@ type Limiter struct { sem chan struct{} concurrentConnsCount prometheus.Gauge waitingConnsCount prometheus.Gauge - lock sync.Mutex } // NewLimiter creates a Limiter with the given capacity |