Skip to content
This repository has been archived by the owner on Sep 26, 2018. It is now read-only.

Commit

Permalink
Don't initialise the backendConnLimits map twice
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaitodor committed Jul 31, 2017
1 parent 289d6cd commit 58b8d6a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server.go
Expand Up @@ -89,7 +89,6 @@ func NewServer(globalConfiguration GlobalConfiguration) *Server {
// leadership creation if cluster mode
server.leadership = cluster.NewLeadership(server.routinesPool.Ctx(), globalConfiguration.Cluster)
}
server.backendConnLimits = make(map[string]*connlimit.ConnLimiter)

return server
}
Expand Down

0 comments on commit 58b8d6a

Please sign in to comment.