Add two missing diagnostics entries (#7634)

* Update diagnostics.go

* Fix config setting name SessionIdleTimeoutInMinutes

* Update diagnostics.go
Этот коммит содержится в:
Jason Blais
2017-10-16 18:17:12 -04:00
коммит произвёл Joram Wilander
родитель ce314425d1
Коммит a649602fc3
2 изменённых файлов: 3 добавлений и 1 удалений

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

@@ -204,6 +204,7 @@ func trackConfig() {
"session_length_mobile_in_days": *utils.Cfg.ServiceSettings.SessionLengthMobileInDays,
"session_length_sso_in_days": *utils.Cfg.ServiceSettings.SessionLengthSSOInDays,
"session_cache_in_minutes": *utils.Cfg.ServiceSettings.SessionCacheInMinutes,
"session_idle_timeout_in_minutes": *utils.Cfg.ServiceSettings.SessionIdleTimeoutInMinutes,
"isdefault_site_url": isDefault(*utils.Cfg.ServiceSettings.SiteURL, model.SERVICE_SETTINGS_DEFAULT_SITE_URL),
"isdefault_tls_cert_file": isDefault(*utils.Cfg.ServiceSettings.TLSCertFile, model.SERVICE_SETTINGS_DEFAULT_TLS_CERT_FILE),
"isdefault_tls_key_file": isDefault(*utils.Cfg.ServiceSettings.TLSKeyFile, model.SERVICE_SETTINGS_DEFAULT_TLS_KEY_FILE),
@@ -442,6 +443,7 @@ func trackConfig() {
"sniff": *utils.Cfg.ElasticsearchSettings.Sniff,
"post_index_replicas": *utils.Cfg.ElasticsearchSettings.PostIndexReplicas,
"post_index_shards": *utils.Cfg.ElasticsearchSettings.PostIndexShards,
"isdefault_index_prefix": isDefault(*utils.Cfg.ElasticsearchSettings.IndexPrefix, model.ELASTICSEARCH_SETTINGS_DEFAULT_INDEX_PREFIX),
})
SendDiagnostic(TRACK_CONFIG_PLUGIN, map[string]interface{}{

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

@@ -36,7 +36,7 @@
"SessionLengthMobileInDays": 30,
"SessionLengthSSOInDays": 30,
"SessionCacheInMinutes": 10,
"SessionIdleTimeout": 0,
"SessionIdleTimeoutInMinutes": 0,
"WebsocketSecurePort": 443,
"WebsocketPort": 80,
"WebserverMode": "gzip",