fix(tsdb/store): Fix hang when closing Store if monitor is disabled

pull/9972/head
Stuart Carnie 2018-06-12 07:49:13 -07:00
parent 81e32387f0
commit 7abf3ec048
1 changed files with 1 additions and 1 deletions

View File

@ -190,9 +190,9 @@ func (s *Store) Open() error {
}
s.opened = true
s.wg.Add(1)
if !s.EngineOptions.MonitorDisabled {
s.wg.Add(1)
go s.monitorShards()
}