From d2a408f452db1157a1e6a14810bd1f03fc431d9d Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Tue, 6 Sep 2022 23:08:37 +0530 Subject: perf(runtime): short-circuit `queue_async_op` for Poll::Ready (#15773) --- ext/websocket/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/websocket') diff --git a/ext/websocket/lib.rs b/ext/websocket/lib.rs index 515f798ac..fad217585 100644 --- a/ext/websocket/lib.rs +++ b/ext/websocket/lib.rs @@ -420,7 +420,7 @@ pub async fn op_ws_send( Ok(()) } -#[op] +#[op(deferred)] pub async fn op_ws_close( state: Rc>, rid: ResourceId, -- cgit v1.2.3