Remove sleeps from curl handling, select it is responsible for waiting
The current sleeps mean that large files download slowly as select would return quickly when data has arrived and needs to be processed, but the sleep waits while the buffers are full. On the flipside we need to ensure that some code that would keep the CPU busy if run too often does not get run every time select returns.main
parent
a20ee1a448
commit
c043fe841b
Loading…
Reference in New Issue