Add cluster request time logging for master (#5347)
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
9934954d18
Коммит
58dcf6984b
@@ -105,6 +105,7 @@ type ServiceSettings struct {
|
||||
PostEditTimeLimit *int
|
||||
TimeBetweenUserTypingUpdatesMilliseconds *int64
|
||||
EnableUserTypingMessages *bool
|
||||
ClusterLogTimeoutMilliseconds *int
|
||||
}
|
||||
|
||||
type ClusterSettings struct {
|
||||
@@ -1084,6 +1085,11 @@ func (o *Config) SetDefaults() {
|
||||
*o.ServiceSettings.EnableUserTypingMessages = true
|
||||
}
|
||||
|
||||
if o.ServiceSettings.ClusterLogTimeoutMilliseconds == nil {
|
||||
o.ServiceSettings.ClusterLogTimeoutMilliseconds = new(int)
|
||||
*o.ServiceSettings.ClusterLogTimeoutMilliseconds = 2000
|
||||
}
|
||||
|
||||
o.defaultWebrtcSettings()
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user