MM-31391: Add max connection idle timeout to config (#16792)

* Update config.go

* Update telemetry.go

* Update store and store test

* Update settings.go

* use new error code

* Trigger CI

Co-authored-by: Haardik Dharma <dharmahaardik08@gmail.com>
Этот коммит содержится в:
Agniva De Sarker
2021-01-28 09:37:15 +05:30
коммит произвёл GitHub
родитель 5f16fc644a
Коммит 2846ad9f93
8 изменённых файлов: 22 добавлений и 1 удалений

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

@@ -7466,6 +7466,10 @@
"id": "model.config.is_valid.sitename_length.app_error",
"translation": "Site name must be less than or equal to {{.MaxLength}} characters."
},
{
"id": "model.config.is_valid.sql_conn_max_idle_time_milliseconds.app_error",
"translation": "Invalid connection maximum idle time for SQL settings. Must be a non-negative number."
},
{
"id": "model.config.is_valid.sql_conn_max_lifetime_milliseconds.app_error",
"translation": "Invalid connection maximum lifetime for SQL settings. Must be a non-negative number."