marine icon indicating copy to clipboard operation
marine copied to clipboard

Add ability to cancel execution or set execution timeout

Open folex opened this issue 2 years ago • 0 comments

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.

folex avatar Nov 08 '21 10:11 folex