Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid disconnecting all peers if user event processing is slow
In the sample client (and likely other downstream users), event processing may block on slow operations (e.g. Bitcoin Core RPCs). This should be fine, except that we consider this a case of possible backgrounding and disconnect all of our peers when it happens. Instead, we here avoid considering event processing time in the time between PeerManager events.
- Loading branch information