good morning!!!!

Skip to content
Snippets Groups Projects
Commit 8ebac230 authored by Garet Halliday's avatar Garet Halliday
Browse files

fix race

parent 7259040d
No related branches found
No related tags found
Loading
Pipeline #74058 passed with stages
in 12 minutes and 14 seconds
......@@ -259,6 +259,9 @@ func (T *Pool) Acquire(client uuid.UUID) *Server {
T.mu.RLock()
c, ok := T.serversByID[serverID]
if ok {
c.SetState(metrics.ConnStatePairing, client)
}
T.mu.RUnlock()
if !ok {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment