Skip to content

Commit 6479895

Browse files
committed
use coroutine/task id
1 parent 3fea7a7 commit 6479895

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/net/event_loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ impl<'e> EventLoop<'e> {
304304
// have already consumed all pending SQEs, making `_count == 0` even
305305
// when completed CQEs are sitting in the completion queue.
306306
for cqe in &mut cq {
307-
let token = u64::try_from(cqe.user_data()).expect("token overflow");
307+
let token = cqe.user_data();
308308
if crate::common::constants::IO_URING_TIMEOUT_USERDATA == token {
309309
continue;
310310
}

0 commit comments

Comments
 (0)