Skip to content
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

Add ability to cancel execution or set execution timeout #131

Open
folex opened this issue Nov 8, 2021 · 0 comments
Open

Add ability to cancel execution or set execution timeout #131

folex opened this issue Nov 8, 2021 · 0 comments
Labels
A-core-runtime area: core runtime components A-metering area: metering C-feature category: a new feature request

Comments

@folex
Copy link
Member

folex commented Nov 8, 2021

Depending on the underlying WASM code, it's possible that Marine::call will block forever. To counteract such situations, Fluence Node needs a tool to limit execution time.

I see two possible approaches to implement such a tool:

  1. Cancellation. Ability to cancel ongoing call execution.
  2. Limit duration of exection. Ability to set the maximum duration of the call execution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-core-runtime area: core runtime components A-metering area: metering C-feature category: a new feature request
Projects
None yet
Development

No branches or pull requests

3 participants