diff options
| author | chrislu <chris.lu@gmail.com> | 2021-12-29 22:21:02 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2021-12-29 22:21:02 -0800 |
| commit | 5788bf2270c2158798d1ff48c5e7145e8899e1a3 (patch) | |
| tree | 0e13406b38ac32bb0cf45d5ea352640a4b76d232 /weed/command | |
| parent | d351541757fa94f1b3f1f9ac3a3fca6221533434 (diff) | |
| download | seaweedfs-5788bf2270c2158798d1ff48c5e7145e8899e1a3.tar.xz seaweedfs-5788bf2270c2158798d1ff48c5e7145e8899e1a3.zip | |
s3: increase timeout limit
https://github.com/chrislusf/seaweedfs/issues/2541
Diffstat (limited to 'weed/command')
| -rw-r--r-- | weed/command/s3.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/s3.go b/weed/command/s3.go index ee726fcec..679a4ae45 100644 --- a/weed/command/s3.go +++ b/weed/command/s3.go @@ -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) } |
