4 ms·
Oh, and here's an example (test) showing how to construct a "manifest" to control the cpu/memory limits: https://github.com/extism/extism/blob/main/python/test
by nilslice 4y ago
Oh, and here's an example (test) showing how to construct a "manifest" to control the cpu/memory limits: https://github.com/extism/extism/blob/main/python/tests/test_extism.py#L111-L112 https://github.com/extism/extism/blob/main/python/tests/test...
cpu is really controlled by # milliseconds until the wasm code is trapped.
- simonw 4y agoThat looks like exactly the level of control I've been hoping for in terms of sandboxing. This is really promising!