-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
I am trying to set up rate limiter for my grpc:
limit := rate.NewLimiter(rate.Every(time.Minute), 10)
e = ratelimit.NewErroringLimiter(limit)(e)
pb.RegisterFlowServer(s, server.NewBinding(e))
...
My client test code is to send 10 RPC, wait a minute, then send another 10 RPC.
However, my 2nd batch failed 9 out of 10.
Any ideas?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels