diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-04-01 15:34:26 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-04-10 13:52:27 +0000 |
commit | 3ebe37b1db1637f351d5d4652b0b80be0403f373 (patch) | |
tree | 23b56a5627505e33994c21b93c36dae6e91e6c6a /tests/show-dependencies.setup | |
parent | cfa6237e902d911303ca4e5da19a6dfdb362eccb (diff) | |
download | morph-3ebe37b1db1637f351d5d4652b0b80be0403f373.tar.gz |
Improve downloading artifacts for OSTree artifact cache
This fixes two issues: first, downloads were being put into the default
TMPDIR, which is an in-memory file system. When large artifacts are put
into /tmp such as gcc-devel, which is over 400MB, I found that my system
became unusable due to out of memory / swap death. Ideally we'd fix
Linux's memory management, but a more practical solution for now is to
download the files to the artifact cache directory. I've not noticed any
loss in speed from this change.
Second, temporary files should always cleaned up now, even when there
are errors during transfer or extraction.
Diffstat (limited to 'tests/show-dependencies.setup')
0 files changed, 0 insertions, 0 deletions