diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-09-26T19·43+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-09-26T19·47+0200 |
commit | 97504300032c7c57388d68bbe4a05b0a494e81aa (patch) | |
tree | cbcac44f1a62c8764c484e1c9caf6cd52954c768 /scripts | |
parent | 98b2cc2e6e63bfa49b8f75169a39b751b3e2c32c (diff) |
Ensure download thread liveness
* Don't wait forever for the client to remove data from the buffer. This does mean that the buffer can grow without bounds (e.g. when downloading is faster than writing to disk), but meh. * Don't hold the state lock while calling the sink. The sink could take any amount of time to process the data (in particular when it's actually a coroutine), so we don't want to block the download thread.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions