]> git.bitcoin.ninja Git - rust-lightning/commit
[net-tokio] Explicitly yield after processing messages from a peer
authorMatt Corallo <git@bluematt.me>
Tue, 22 Mar 2022 21:03:41 +0000 (21:03 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 10 May 2022 23:40:20 +0000 (23:40 +0000)
commitb222be233b0267ac2012a09e0d1c8ffee9cd2982
treeb86582a2eeef70fe868c93c3624953341a0db802
parent96fc0f3453388256145f9ff154554aedd69207d2
[net-tokio] Explicitly yield after processing messages from a peer

This reduces instances of disconnect peers after single timer
intervals somewhat, at least on Tokio 1.14.
lightning-net-tokio/src/lib.rs