packetcrypt_rs icon indicating copy to clipboard operation
packetcrypt_rs copied to clipboard

Prefer reuse of recently used uploader threads to improve connection reuse

Open UCIS opened this issue 2 years ago • 0 comments

Prefer reuse of recently used uploader threads over the semi-random selection that occurs with idle wait loop to improve connection reuse. For miners on a fast connection, this should reduce the number of idle keepalive connections, saving resources on the miner and pool. The configured number of uploaders will behave like an upper limit rather than an absolute number. An added bonus might be that the more aggressive reuse of connections could reduce the number of reconnections and slow-start situations because idle connections keep timing out.

UCIS avatar Oct 15 '23 17:10 UCIS