about summary refs log tree commit diff
path: root/src/nix-build
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-09-26T19·43+0200
committerEelco Dolstra <edolstra@gmail.com>2018-09-26T19·47+0200
commit97504300032c7c57388d68bbe4a05b0a494e81aa (patch)
treecbcac44f1a62c8764c484e1c9caf6cd52954c768 /src/nix-build
parent98b2cc2e6e63bfa49b8f75169a39b751b3e2c32c (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 'src/nix-build')
0 files changed, 0 insertions, 0 deletions