Skip to content
Snippets Groups Projects

Cache quota is now restricted to available disk space

Merged Qinusty requested to merge Qinusty/491 into master

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • James Ennis
  • Qinusty added 1 commit

    added 1 commit

    • 8d598af3 - _context.py: Cache size is now restricted to available disk space

    Compare with previous version

  • Qinusty added 1 commit

    added 1 commit

    • 7e76f93c - _context.py: Cache size is now restricted to available disk space

    Compare with previous version

  • Qinusty added 1 commit

    added 1 commit

    • fc9dd26d - _context.py: Cache size is now restricted to available disk space

    Compare with previous version

  • Qinusty added 1 commit

    added 1 commit

    • 864e0984 - _context.py: Cache size is now restricted to available disk space

    Compare with previous version

  • Qinusty added 1 commit

    added 1 commit

    • ec2859b4 - _context.py: Cache size is now restricted to available disk space

    Compare with previous version

  • Qinusty mentioned in issue #497 (closed)

    mentioned in issue #497 (closed)

  • Qinusty resolved all discussions

    resolved all discussions

  • Phillip Smyth approved this merge request

    approved this merge request

  • Tristan Maat
  • Qinusty added 1 commit

    added 1 commit

    • aa6ff04d - _context.py: Cache size is now restricted to available disk space

    Compare with previous version

  • Tristan Maat
  • 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.

  • Qinusty added 1 commit

    added 1 commit

    • 5e2d25e4 - _context.py: Cache size is now restricted to available disk space

    Compare with previous version

  • Qinusty resolved all discussions

    resolved all discussions

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading