diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-01-27 00:58:26 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-01-27 00:58:26 -0800 |
| commit | c8d543ef51647fc656d4f507382a7dd2adb8d554 (patch) | |
| tree | cf58078a271098c54472567d6dc28ee5e3792ef5 | |
| parent | 081bc1ea25d8018a98aa45c9e25d3783d493ae42 (diff) | |
| download | seaweedfs-c8d543ef51647fc656d4f507382a7dd2adb8d554.tar.xz seaweedfs-c8d543ef51647fc656d4f507382a7dd2adb8d554.zip | |
avoid retry delay
| -rw-r--r-- | weed/filesys/wfs.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index af1102b45..4807e367b 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -99,7 +99,6 @@ func (wfs *WFS) WithFilerClient(ctx context.Context, fn func(context.Context, fi return nil } if strings.Contains(err.Error(), "context canceled") { - time.Sleep(3337 * time.Millisecond) glog.V(2).Infoln("retry context canceled request...") return util.WithCachedGrpcClient(context.Background(), func(ctx2 context.Context, grpcConnection *grpc.ClientConn) error { client := filer_pb.NewSeaweedFilerClient(grpcConnection) |
