If a plugin takes more than 30s to run, kill it.
For doing it, everytime we invoke the plugin using Wasmtimer we should create a Tokio task that should timeout: https://docs.rs/tokio/latest/tokio/time/struct.Timeout.html
It would be nice if the timeout was configurable per plugin
If a plugin takes more than 30s to run, kill it.
For doing it, everytime we invoke the plugin using Wasmtimer we should create a Tokio task that should timeout: https://docs.rs/tokio/latest/tokio/time/struct.Timeout.html
It would be nice if the timeout was configurable per plugin