suborbital / e2core

Server for sandboxed third-party plugins, powered by WebAssembly
https://suborbital.dev
Apache License 2.0
721 stars 42 forks source link

fix: Aggressively GC wasm instances #428

Closed ospencer closed 1 year ago

callahad commented 1 year ago

Looks not-unreasonable, but let's hold off on merging until we fix issue with occasional stuck workers since it's easier to trigger that failure mode without this patch in ;)

javorszky commented 1 year ago

Looks okay, and I agree with @callahad on holding on to this. Alternatively we can give the VM significantly more memory to use