Reuse Wasmtime instance allocation slots
This commit is contained in:
@@ -1200,6 +1200,8 @@ private:
|
|||||||
static wasmtime::Engine make_engine()
|
static wasmtime::Engine make_engine()
|
||||||
{
|
{
|
||||||
wasmtime::Config config;
|
wasmtime::Config config;
|
||||||
|
wasmtime::PoolAllocationConfig pool;
|
||||||
|
config.pooling_allocation_strategy(pool);
|
||||||
config.epoch_interruption(true);
|
config.epoch_interruption(true);
|
||||||
// CRITICAL: the host (linux_fastcgi.cpp) installs its own SIGSEGV/SIGILL/
|
// CRITICAL: the host (linux_fastcgi.cpp) installs its own SIGSEGV/SIGILL/
|
||||||
// SIGBUS handlers per request (install_request_fault_handlers) with plain
|
// SIGBUS handlers per request (install_request_fault_handlers) with plain
|
||||||
|
|||||||
Reference in New Issue
Block a user