consul: Make sessionTimersLock a plain mutex

This commit is contained in:
Armon Dadgar 2014-12-12 19:17:35 -08:00
parent a5a9f051cd
commit fc89462236
1 changed files with 1 additions and 1 deletions

View File

@ -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{}