Skip to content

Grant CPU resources to component #173

@Mossaka

Description

@Mossaka

#167 adds resource limits to the policy file. Now we need to add resource limits to Wassette under with new "grant resource permission" tools, which will map resource limits to WASI Context. this request is for granting CPU limit resources for each components. You may use the fuel API https://docs.wasmtime.dev/api/wasmtime/struct.Store.html.

See how #172 did it

Reference

  1. https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.epoch_interruption

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions