2
3
Fork
You've already forked databook
1

Timeout execution of plugins #9

Open
opened 2022年10月04日 21:15:45 +02:00 by era · 0 comments
Owner
Copy link

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
Sign in to join this conversation.
No Branch/Tag specified
main
era/upgradewit
feature/front-back-communication
feature/initial-layout-structure-web
elias/wit_bindgen3
feature/adding-sveltekit-web
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
era/databook#9
Reference in a new issue
era/databook
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?