mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-15637] Add Trace config option to the Elasticsearch block (#11008)
This commit is contained in:
committed by
GitHub
parent
cee1e36859
commit
6aba17ff9d
@@ -1991,6 +1991,7 @@ type ElasticsearchSettings struct {
|
||||
LiveIndexingBatchSize *int `restricted:"true"`
|
||||
BulkIndexingTimeWindowSeconds *int `restricted:"true"`
|
||||
RequestTimeoutSeconds *int `restricted:"true"`
|
||||
Trace *bool `restricted:"true"`
|
||||
}
|
||||
|
||||
func (s *ElasticsearchSettings) SetDefaults() {
|
||||
@@ -2069,6 +2070,10 @@ func (s *ElasticsearchSettings) SetDefaults() {
|
||||
if s.RequestTimeoutSeconds == nil {
|
||||
s.RequestTimeoutSeconds = NewInt(ELASTICSEARCH_SETTINGS_DEFAULT_REQUEST_TIMEOUT_SECONDS)
|
||||
}
|
||||
|
||||
if s.Trace == nil {
|
||||
s.Trace = NewBool(false)
|
||||
}
|
||||
}
|
||||
|
||||
type DataRetentionSettings struct {
|
||||
|
||||
Reference in New Issue
Block a user