Skip to content

Commit

Permalink
*: update crossbeam-channel to avoid spin at sending side (#13807)
Browse files Browse the repository at this point in the history
close #13815

According to crossbeam-rs/crossbeam#835, spinning at the
sending side is probably a bad idea because of large critical section and it's
fixed in the recent version.

This commit updates crossbeam-channel. It will reduce CPU usage a bit and
improve performance.

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
  • Loading branch information
sticnarf and ti-chi-bot committed Nov 17, 2022
1 parent 65ad2a5 commit 7dfb42e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7dfb42e

Please sign in to comment.