Reuse Wasmtime instance allocation slots

This commit is contained in:
udo 2026-07-17 23:48:31 +00:00
parent da7c607091
commit 497a5e89d2

View File

@ -1200,6 +1200,8 @@ private:
static wasmtime::Engine make_engine()
{
wasmtime::Config config;
wasmtime::PoolAllocationConfig pool;
config.pooling_allocation_strategy(pool);
config.epoch_interruption(true);
// CRITICAL: the host (linux_fastcgi.cpp) installs its own SIGSEGV/SIGILL/
// SIGBUS handlers per request (install_request_fault_handlers) with plain