Skip to content

Commit

Permalink
Bumping up the defaults (mattermost#4229)
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyhulen authored and enahum committed Oct 17, 2016
1 parent e7b25f4 commit 219f4e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"UseLetsEncrypt": false,
"LetsEncryptCertificateCacheFile": "./config/letsencrypt.cache",
"Forward80To443": false,
"ReadTimeout": 30,
"WriteTimeout": 60,
"ReadTimeout": 300,
"WriteTimeout": 300,
"MaximumLoginAttempts": 10,
"SegmentDeveloperKey": "",
"GoogleDeveloperKey": "",
Expand Down
4 changes: 2 additions & 2 deletions model/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 219f4e3

Please sign in to comment.