mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-16 08:45:22 +01:00
s3: increase timeout limit
https://github.com/chrislusf/seaweedfs/issues/2541
This commit is contained in:
1 parent
d351541757
commit
5788bf2270
3 files changed
+25
-4
No files matched your search
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user