MM-41834 Add EnableClientPerformanceDebugging setting (#19562)

Этот коммит содержится в:
Harrison Healey
2022-02-15 13:00:46 -05:00
коммит произвёл GitHub
родитель 627dd650d6
Коммит dde7ce5535
3 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@@ -36,6 +36,7 @@ func GenerateClientConfig(c *model.Config, telemetryID string, license *model.Li
props["EnablePermalinkPreviews"] = strconv.FormatBool(*c.ServiceSettings.EnablePermalinkPreviews)
props["EnableTesting"] = strconv.FormatBool(*c.ServiceSettings.EnableTesting)
props["EnableDeveloper"] = strconv.FormatBool(*c.ServiceSettings.EnableDeveloper)
props["EnableClientPerformanceDebugging"] = strconv.FormatBool(*c.ServiceSettings.EnableClientPerformanceDebugging)
props["PostEditTimeLimit"] = fmt.Sprintf("%v", *c.ServiceSettings.PostEditTimeLimit)
props["MinimumHashtagLength"] = fmt.Sprintf("%v", *c.ServiceSettings.MinimumHashtagLength)
props["EnablePreviewFeatures"] = strconv.FormatBool(*c.ServiceSettings.EnablePreviewFeatures)