You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any form of synchronous locking may degrade the performance of the tokio thread pool as it will block the whole thread, we should try replace with something that does not lock at all. Some of our mutexes are may be unnecessary, one way to replace them is by using a oneshot channel internally and returning a future corresponding to the receiver.
The text was updated successfully, but these errors were encountered:
This is old and we haven't had issues related to this. And the recommendation is to prefer the synchronous locks in short critical sections that do not block tokio-rs/tokio#2479 (comment). So closing.
Any form of synchronous locking may degrade the performance of the tokio thread pool as it will block the whole thread, we should try replace with something that does not lock at all. Some of our mutexes are may be unnecessary, one way to replace them is by using a oneshot channel internally and returning a future corresponding to the receiver.
The text was updated successfully, but these errors were encountered: