From 1067d6a3434f7ad0f2779ff3d88aa34022b1d807 Mon Sep 17 00:00:00 2001 From: mu <59917266+4eUeP@users.noreply.github.com> Date: Thu, 28 Sep 2023 10:20:45 +0800 Subject: [PATCH] tmp: let append be a shortUnary --- hstream/src/HStream/Server/HsGrpcHandler.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hstream/src/HStream/Server/HsGrpcHandler.hs b/hstream/src/HStream/Server/HsGrpcHandler.hs index fa1d2f18a..88c4b1584 100644 --- a/hstream/src/HStream/Server/HsGrpcHandler.hs +++ b/hstream/src/HStream/Server/HsGrpcHandler.hs @@ -56,7 +56,7 @@ handlers sc = , unary (GRPC :: GRPC P.HStreamApi "listConsumers") (H.handleListConsumers sc) , unary (GRPC :: GRPC P.HStreamApi "checkSubscriptionExist") (H.handleCheckSubscriptionExist sc) -- Append - , unary (GRPC :: GRPC P.HStreamApi "append") (H.handleAppend sc) + , shortUnary (GRPC :: GRPC P.HStreamApi "append") (H.handleAppend sc) -- Read , unary (GRPC :: GRPC P.HStreamApi "readShard") (H.handleReadShard sc) , serverStream (GRPC :: GRPC P.HStreamApi "readShardStream") (H.handleReadShardStream sc)