Skip to content

Commit

Permalink
tmp: let append be a shortUnary
Browse files Browse the repository at this point in the history
  • Loading branch information
4eUeP committed Sep 28, 2023
1 parent 80285fb commit 1067d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hstream/src/HStream/Server/HsGrpcHandler.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1067d6a

Please sign in to comment.