marine
marine copied to clipboard
Add ability to cancel execution or set execution timeout
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:
- Cancellation. Ability to cancel ongoing
call
execution. - Limit duration of exection. Ability to set the maximum duration of the
call
execution.