about summary refs log tree commit diff
path: root/src/nix/installables.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-08-09T18·44+0200
committerEelco Dolstra <edolstra@gmail.com>2018-08-09T18·48+0200
commitada4e902672e4d82f47fa260adcc450d9a85d41f (patch)
tree9b65802a0a607e820721703b54e188ac4b3633dd /src/nix/installables.cc
parentc87f4b9324b87a059cf760a477177f322bb8dc26 (diff)
S3BinaryCacheStore: Share TransferManager
TransferManager allocates a lot of memory (50 MiB by default), and it
might leak but I'm not sure about that. In any case it was causing
OOMs in hydra-queue-runner. So allocate only one TransferManager per
S3BinaryCacheStore.

Hopefully fixes https://github.com/NixOS/hydra/issues/586.
Diffstat (limited to 'src/nix/installables.cc')
0 files changed, 0 insertions, 0 deletions