fix(tsdb/store): Fix hang when closing Store if monitor is disabled
parent
81e32387f0
commit
7abf3ec048
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue