mirror of
https://github.com/status-im/consul.git
synced 2025-01-24 20:51:10 +00:00
consul: Make sessionTimersLock a plain mutex
This commit is contained in:
parent
a5a9f051cd
commit
fc89462236
@ -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…
x
Reference in New Issue
Block a user