change default write timeout to 10 seconds

This commit is contained in:
aler9 2020-11-01 16:53:39 +01:00
parent 20e478b8bd
commit d88fa2a24b
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ func (conf *Conf) fillAndCheck() error {
conf.ReadTimeout = 10 * time.Second
}
if conf.WriteTimeout == 0 {
conf.WriteTimeout = 5 * time.Second
conf.WriteTimeout = 10 * time.Second
}
if len(conf.AuthMethods) == 0 {