diff options
author | Corey Hulen <corey@hulen.com> | 2016-10-17 06:50:41 -0700 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2016-10-17 10:50:41 -0300 |
commit | 219f4e36e5c78982317a85e8a49cda74562d6b65 (patch) | |
tree | 708e9c8e3e3b0ed661abedf54ddc8f6606266aba /model/config.go | |
parent | e7b25f4cd8b7d87b99153fd4a901d3f9f92d7b0d (diff) | |
download | chat-219f4e36e5c78982317a85e8a49cda74562d6b65.tar.gz chat-219f4e36e5c78982317a85e8a49cda74562d6b65.tar.bz2 chat-219f4e36e5c78982317a85e8a49cda74562d6b65.zip |
Bumping up the defaults (#4229)
Diffstat (limited to 'model/config.go')
-rw-r--r-- | model/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/model/config.go b/model/config.go index 12f833b89..8d49434f6 100644 --- a/model/config.go +++ b/model/config.go @@ -940,12 +940,12 @@ func (o *Config) SetDefaults() { if o.ServiceSettings.ReadTimeout == nil { o.ServiceSettings.ReadTimeout = new(int) - *o.ServiceSettings.ReadTimeout = 30 + *o.ServiceSettings.ReadTimeout = 300 } if o.ServiceSettings.WriteTimeout == nil { o.ServiceSettings.WriteTimeout = new(int) - *o.ServiceSettings.WriteTimeout = 60 + *o.ServiceSettings.WriteTimeout = 300 } if o.ServiceSettings.Forward80To443 == nil { |