diff options
author | tecnovert <tecnovert@particl.io> | 2019-07-18 13:04:16 +0200 |
---|---|---|
committer | tecnovert <tecnovert@particl.io> | 2019-07-18 13:04:16 +0200 |
commit | a52818cc5633494992da7d1dc8fdb04b4a1b7c29 (patch) | |
tree | 91f658baa3eb5d3d5a66448335599b546412e279 /src/test/bech32_tests.cpp | |
parent | 0515406acb5d0c60e743822853b80e122285a82c (diff) |
net: Make poll in InterruptibleRecv only filter for POLLIN events.
poll should block until there is data to be read or the timeout expires.
Filtering for the POLLOUT event causes poll to return immediately which leads to high CPU usage when trying to connect to non-responding peers through tor.
Removing POLLOUT matches how select is used when USE_POLL isn't defined.
Diffstat (limited to 'src/test/bech32_tests.cpp')
0 files changed, 0 insertions, 0 deletions