diff options
author | MarcoFalke <falke.marco@gmail.com> | 2017-09-18 21:10:18 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-09-18 21:10:21 +0200 |
commit | 4ce2f3d0d33346e9f0e96851689ee6550b2a72e3 (patch) | |
tree | 29189be37a51185bfefaaf9d30e7892fc6ba8a4a /src/qt/locale/bitcoin_da.ts | |
parent | 44e1fd926cfb0df0fbd8c41de8cd65ed8d5d6e18 (diff) | |
parent | 1817398b397afebcc857c40a16d201c84878cb89 (diff) |
Merge #11323: mininode: add an optimistic write and disable nagle
1817398b3 mininode: add an optimistic write and disable nagle (Cory Fields)
Pull request description:
Disclaimer: I'm not familiar with asyncore, so I'm unclear how safe this is. It works for me (tm).
Because the poll/select loop may pause for 100msec before actually doing a send, and we have no way to force the loop awake, try sending from the calling thread if the queue is empty.
Also, disable nagle as all sends should be either full messages or unfinished sends.
This shaves an average of ~1 minute or so off of my accumulated runtime, and 10-15 seconds off of actual runtime.
Tree-SHA512: 6b61b8058e621dacf0b4dd353c10e3666fbda0691440eb6ebc432491ebada80a781dcd09291bf03e70112a41d3c2a0c91775ed08824b79bf8d0ebed11595c28b
Diffstat (limited to 'src/qt/locale/bitcoin_da.ts')
0 files changed, 0 insertions, 0 deletions