consul: Make sessionTimersLock a plain mutex
This commit is contained in:
parent
9b897d1134
commit
f25566931f
|
@ -132,7 +132,7 @@ type Server struct {
|
|||
// a TTL. On expiration, a SessionDestroy event will occur, and
|
||||
// destroy the session via standard session destory processing
|
||||
sessionTimers map[string]*time.Timer
|
||||
sessionTimersLock sync.RWMutex
|
||||
sessionTimersLock sync.Mutex
|
||||
|
||||
shutdown bool
|
||||
shutdownCh chan struct{}
|
||||
|
|
Loading…
Reference in a new issue