-
Notifications
You must be signed in to change notification settings - Fork 441
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
[RPC]Implement InvocationCancel #4027
Comments
Moving to 72 for investigation as this may no longer be needed. |
12 tasks
Tagging @soninaren - as he was looking to extend the support for CancellationToken to out-of-proc languages |
I believe this is still relevant. It may not be a cancellation token the functionality is still needed. It would need some design work to start with. |
Duplicate of #2152 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Need to implement InvocationCancel
This specifically impacts language workers that start in placeholder mode as language worker process will not restart as part of jobhost restarts.
From issue #1319,
TIMEOUT
A language worker should handle Function timeout/cancelation messages
A language worker should ACK if the Function gracefully timed out based on a configurable grace period
A language worker should provide a means for a Function to be notified of graceful shutdown
The host should send the timeout/cancelation message for a given Function execution to the language worker processing it
A language worker should wait for an ACK for a configurable grace period
The grace period should be configurable via the host.json (timeoutGracePeriod)
The grace period can be overridden per Function via function.json (timeoutGracePeriod)
The default grace period should be 1 second
The text was updated successfully, but these errors were encountered: