Skip to content

Commit 5062af9

Browse files
committed
Simplify spawn call
1 parent 7ae51bc commit 5062af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gateway/src/node/client_handling/websocket/listener.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ where
6767
remote_addr,
6868
shutdown,
6969
);
70-
tokio::spawn(async move { handle.start_handling().await });
70+
tokio::spawn(handle.start_handling());
7171
}
7272
Err(err) => warn!("failed to get client: {err}"),
7373
}

0 commit comments

Comments
 (0)