SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
keep alive for streaming connections
Chris Luc5de97ddbe60
diff --git a/weed/pb/grpc_client_server.go b/weed/pb/grpc_client_server.goindex 5490339b33..fac8adcb38 100644--- a/weed/pb/grpc_client_server.go+++ b/weed/pb/grpc_client_server.go@@ -50,7 +50,7 @@ func NewGrpcServer(opts ...grpc.ServerOption) *grpc.Server {}),grpc.KeepaliveEnforcementPolicy(keepalive.EnforcementPolicy{MinTime: 60 * time.Second, // min time a client should wait before sending a ping- PermitWithoutStream: false,+ PermitWithoutStream: true,}),grpc.MaxRecvMsgSize(Max_Message_Size),grpc.MaxSendMsgSize(Max_Message_Size),@@ -76,7 +76,7 @@ func GrpcDial(ctx context.Context, address string, opts ...grpc.DialOption) (*grgrpc.WithKeepaliveParams(keepalive.ClientParameters{Time: 30 * time.Second, // client ping server if no activity for this longTimeout: 20 * time.Second,- PermitWithoutStream: false,+ PermitWithoutStream: true,}))for _, opt := range opts {if opt != nil {