summaryrefslogtreecommitdiff
path: root/runtime/ops/runtime.rs
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2023-10-05 03:13:58 +0530
committerGitHub <noreply@github.com>2023-10-04 21:43:58 +0000
commit1a81b2826d7e0f64831c7a96d3cfb113ea6e7eb7 (patch)
tree020c6005a7d9b1634eaf72f7e8f921f59fd949ff /runtime/ops/runtime.rs
parentcbddf5756e07fbbe10bd35d23bb9e9c0c685442a (diff)
refactor: rewrite websocket to use op2 macro (#20140)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'runtime/ops/runtime.rs')
-rw-r--r--runtime/ops/runtime.rs2
1 files changed, 1 insertions, 1 deletions
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<String, AnyError> {
/// 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)]