Skip to content

Commit

Permalink
optimize: log-query index-preload enabled by default (#1769) (#2358)
Browse files Browse the repository at this point in the history
Co-authored-by: 郭刚平 <512979011@qq.com>
  • Loading branch information
erda-bot and snakorse authored Oct 13, 2021
1 parent 81ba8db commit 2ff0739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/extensions/loghub/index/query/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (
type config struct {
Timeout time.Duration `file:"timeout" default:"60s"`
QueryBackES bool `file:"query_back_es" default:"false"`
IndexPreload bool `file:"index_preload" default:"false" env:"LOG_INDEX_PRELOAD"`
IndexPreload bool `file:"index_preload" default:"true" env:"LOG_INDEX_PRELOAD"`
IndexPreloadInterval time.Duration `file:"index_preload_interval" default:"60s" env:"LOG_INDEX_PRELOAD_INTERVAL"`
IndexFieldSettings struct {
File string `file:"file"`
Expand Down

0 comments on commit 2ff0739

Please # to comment.