s3: increase timeout limit

https://github.com/chrislusf/seaweedfs/issues/2541
This commit is contained in:
chrislu
2021-12-29 22:21:02 -08:00
parent d351541757
commit 5788bf2270
3 changed files with 25 additions and 4 deletions

View File

@@ -192,7 +192,7 @@ func (s3opt *S3Options) startS3Server() bool {
httpS := &http.Server{Handler: router}
listenAddress := fmt.Sprintf("%s:%d", *s3opt.bindIp, *s3opt.port)
s3ApiListener, err := util.NewListener(listenAddress, time.Duration(10)*time.Second)
s3ApiListener, err := util.NewListener(listenAddress, time.Duration(30)*time.Second)
if err != nil {
glog.Fatalf("S3 API Server listener on %s error: %v", listenAddress, err)
}