From c8d543ef51647fc656d4f507382a7dd2adb8d554 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 27 Jan 2020 00:58:26 -0800 Subject: [PATCH] avoid retry delay --- weed/filesys/wfs.go | 1 - 1 file changed, 1 deletion(-) 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)