Cache quota is now restricted to available disk space
Description
Restricts cache quota based on system resources.
Changes proposed in this merge request:
- Check the cache quota configuration and bail out if it is too low.
This merge request, when approved, will close issue/bug: #491 (closed)
Edited by Qinusty
Merge request reports
Activity
added 1 commit
- 1d96a375 - _context.py: Cache size is now restricted to available disk space
- Automatically resolved by Qinusty
- Resolved by Qinusty
added 1 commit
- 8d598af3 - _context.py: Cache size is now restricted to available disk space
added 1 commit
- 7e76f93c - _context.py: Cache size is now restricted to available disk space
added 1 commit
- fc9dd26d - _context.py: Cache size is now restricted to available disk space
added 1 commit
- 864e0984 - _context.py: Cache size is now restricted to available disk space
added 1 commit
- ec2859b4 - _context.py: Cache size is now restricted to available disk space
mentioned in issue #497 (closed)
- Automatically resolved by Qinusty
added 1 commit
- aa6ff04d - _context.py: Cache size is now restricted to available disk space
- Automatically resolved by Qinusty
A test for this would be ideal, but currently a bit painful to write.
I'm happy merging this, caveat that we also change the warning message if the user specifies a cache size of < 2GB. Not to avoid documenting this (we should certainly at least mention the 2GB space requirement, even if we find the headroom feature too confusing to explain), but to avoid confusing a poor user who doesn't read the documentation.
added 1 commit
- 5e2d25e4 - _context.py: Cache size is now restricted to available disk space
Please register or sign in to reply