-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No examples tell me how to use LookupPartitionStrategy&PredicatePartitionStrategy #109
Comments
You might look at the tests for current examples: https://github.com/platinummonkey/go-concurrency-limits/blob/master/strategy/lookup_partition_test.go The per method is interesting. Currently this https://github.com/platinummonkey/go-concurrency-limits/blob/master/grpc/grpc_unary.go#L11 applies to all methods but could easily obtain the method name (and context args for something even more custom) with your own interceptor. The per method name seems like a relatively good FR that can be generalized |
`
} this is how I code, but it seems like the token wasn't released correctly. In my presure test, all the request will be forbinden finally, and it won't recover unless I restart the server, even if I stop the presure test for a long time. |
any examples?
why partitions cann't not be group by grpc method?
The text was updated successfully, but these errors were encountered: