-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[TT-10277] There is no timeout in the gRPC plugin coprocess #5543
Labels
Comments
This was referenced Sep 19, 2023
Hi @cuongtd1301, I'm sorry for the slow acknowledgement here - thank you for your suggestion and PR. It seems like a reasonable capability to add to Tyk, we'll take a look at this and will let you know if and when we can add it to the product. Thanks again for your contribution! |
andyo-tyk
changed the title
There is no timeout in the gRPC plugin coprocess
[TT-10277] There is no timeout in the gRPC plugin coprocess
Oct 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
When using gRPC plugins, there's no way to specify a timeout. I set the processing time of the plugin too long (over 2 minutes), there will be no response returned even though the gateway has completed the execution.
Describe the solution you'd like
timeout
field (second)timeout
fieldcontext.Context
paramterGRPCDispatcher (and PythonDispatcher) implement Dispatch, add ctx parameter
The text was updated successfully, but these errors were encountered: