[MM-52943] fix: enable Elasticsearch properly on restart (#23806)
* fix: enable elasticsearch properly on restart * use correct method under IsEnabled * Empty-Commit to retrigger workflow --------- Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com> Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
9bc22b633f
Коммит
cad2df1259
@@ -219,6 +219,10 @@ func (b *BleveEngine) Stop() *model.AppError {
|
||||
return b.closeIndexes()
|
||||
}
|
||||
|
||||
func (b *BleveEngine) IsEnabled() bool {
|
||||
return b.IsIndexingEnabled()
|
||||
}
|
||||
|
||||
func (b *BleveEngine) IsActive() bool {
|
||||
return atomic.LoadInt32(&b.ready) == 1
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user