make some things such as cache max_size and proxy_cache_min_uses tunable
Bug #1825325 reported by
Tom Haddon
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Content Cache Charm |
Fix Released
|
Medium
|
Haw Loeung |
Bug Description
We should make some things such as cache max_size and proxy_cache_
Related branches
~hloeung/content-cache-charm:reduce-complexity
- Stuart Bishop (community): Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 145 lines (+30/-41)4 files modifiedlib/nginx.py (+25/-1)
reactive/content_cache.py (+1/-22)
tests/unit/files/nginx_config_rendered_test_output-site3.local.txt (+1/-0)
tests/unit/test_nginx.py (+3/-18)
~hloeung/content-cache-charm:master
- Stuart Bishop (community): Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 114 lines (+30/-10)6 files modifiedlib/nginx.py (+13/-0)
reactive/content_cache.py (+5/-1)
templates/nginx_cfg.tmpl (+5/-6)
tests/unit/files/config_test_config.txt (+2/-0)
tests/unit/files/nginx_config_rendered_test_output-site5.txt (+0/-2)
tests/unit/test_nginx.py (+5/-1)
~hloeung/content-cache-charm:master
- Joel Sing (community): Approve (+1)
- Canonical IS Reviewers: Pending requested
- Stuart Bishop: Pending requested
-
Diff: 15 lines (+3/-1)1 file modifiedconfig.yaml (+3/-1)
~hloeung/content-cache-charm:master
Superseded
for merging
into
content-cache-charm:master
- Joel Sing (community): Approve (+1)
- Stuart Bishop (community): Approve
-
Diff: 15 lines (+3/-1)1 file modifiedconfig.yaml (+3/-1)
~hloeung/content-cache-charm:master
- Joel Sing (community): Approve (+1)
- Haw Loeung: Needs Resubmitting
- Canonical IS Reviewers: Pending requested
-
Diff: 150 lines (+70/-4)6 files modifiedconfig.yaml (+10/-0)
lib/nginx.py (+3/-1)
reactive/content_cache.py (+2/-0)
templates/nginx_cfg.tmpl (+1/-1)
tests/unit/test_content_cache.py (+52/-2)
tests/unit/test_nginx.py (+2/-0)
Changed in content-cache-charm: | |
status: | Triaged → In Progress |
Changed in content-cache-charm: | |
status: | In Progress → Won't Fix |
status: | Won't Fix → Fix Committed |
Changed in content-cache-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Automatically determine the cache max_size if none provided (something like 70-75% of total disk size since the nrpe charm is configured to alert at 80% by default).