Skip to content

Commit 297fd71

Browse files
Revert "Disable experimental grpc buffer pool" (#9539)
Reverts #9492
1 parent 8d08b2d commit 297fd71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/util/grpc_server/grpc_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ func CommonGRPCServerOptionsWithConfig(env environment.Env, config GRPCServerCon
251251
interceptors.GetStreamInterceptor(env, config.ExtraChainedStreamInterceptors...),
252252
grpc.StreamInterceptor(Metrics().StreamServerInterceptor()),
253253
grpc.UnaryInterceptor(Metrics().UnaryServerInterceptor()),
254-
experimental.BufferPool(mem.NopBufferPool{}),
254+
experimental.BufferPool(mem.DefaultBufferPool()),
255255
grpc.MaxRecvMsgSize(MaxRecvMsgSizeBytes()),
256256
KeepaliveEnforcementPolicy(),
257257
}

0 commit comments

Comments
 (0)