Этот коммит содержится в:
Corey Hulen
2016-10-17 06:50:41 -07:00
коммит произвёл enahum
родитель e7b25f4cd8
Коммит 219f4e36e5
2 изменённых файлов: 4 добавлений и 4 удалений

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

@@ -8,8 +8,8 @@
"UseLetsEncrypt": false, "UseLetsEncrypt": false,
"LetsEncryptCertificateCacheFile": "./config/letsencrypt.cache", "LetsEncryptCertificateCacheFile": "./config/letsencrypt.cache",
"Forward80To443": false, "Forward80To443": false,
"ReadTimeout": 30, "ReadTimeout": 300,
"WriteTimeout": 60, "WriteTimeout": 300,
"MaximumLoginAttempts": 10, "MaximumLoginAttempts": 10,
"SegmentDeveloperKey": "", "SegmentDeveloperKey": "",
"GoogleDeveloperKey": "", "GoogleDeveloperKey": "",

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

@@ -940,12 +940,12 @@ func (o *Config) SetDefaults() {
if o.ServiceSettings.ReadTimeout == nil { if o.ServiceSettings.ReadTimeout == nil {
o.ServiceSettings.ReadTimeout = new(int) o.ServiceSettings.ReadTimeout = new(int)
*o.ServiceSettings.ReadTimeout = 30 *o.ServiceSettings.ReadTimeout = 300
} }
if o.ServiceSettings.WriteTimeout == nil { if o.ServiceSettings.WriteTimeout == nil {
o.ServiceSettings.WriteTimeout = new(int) o.ServiceSettings.WriteTimeout = new(int)
*o.ServiceSettings.WriteTimeout = 60 *o.ServiceSettings.WriteTimeout = 300
} }
if o.ServiceSettings.Forward80To443 == nil { if o.ServiceSettings.Forward80To443 == nil {