From 1a81b2826d7e0f64831c7a96d3cfb113ea6e7eb7 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Thu, 5 Oct 2023 03:13:58 +0530 Subject: refactor: rewrite websocket to use op2 macro (#20140) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- runtime/ops/runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs index 5042ba486..fde3eeb2e 100644 --- a/runtime/ops/runtime.rs +++ b/runtime/ops/runtime.rs @@ -31,7 +31,7 @@ fn op_main_module(state: &mut OpState) -> Result { /// This is an op instead of being done at initialization time because /// it's expensive to retrieve the ppid on Windows. -#[op2] +#[op2(fast)] #[bigint] pub fn op_ppid() -> i64 { #[cfg(windows)] -- cgit v1.2.3