-
- Downloads
cascache: move tmp directory one level up
The tmp directory is filled when adding an artifact with temporary files. This causes problems on calculate_cache_size() because we could try to a attemp to do a stat() on a temporary file that meanwhile has been reaped. Handle this by not considering the tmp directory when calculating the cache size.
Showing
- buildstream/_artifactcache/artifactcache.py 4 additions, 1 deletionbuildstream/_artifactcache/artifactcache.py
- buildstream/_artifactcache/cascache.py 5 additions, 6 deletionsbuildstream/_artifactcache/cascache.py
- buildstream/_artifactcache/casserver.py 1 addition, 1 deletionbuildstream/_artifactcache/casserver.py
Loading
Please register or sign in to comment