A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Set initial epoch deadline to `1` in `HostHandlerState::instantiate` (#13839)
Till Schneidereit6918520e213c
diff --git a/src/commands/serve.rs b/src/commands/serve.rsindex 45b12096d9..11257cf141 100644--- a/src/commands/serve.rs+++ b/src/commands/serve.rs@@ -1018,6 +1018,7 @@ fn setup_epoch_handler(// Profiling disabled but there's a global request timeoutif cmd.run.common.wasm.timeout.is_some() || cmd.run.common.debug.debugger.is_some() {store.epoch_deadline_async_yield_and_update(1);+ store.set_epoch_deadline(1);}Ok(Box::new(|_store| {}))