Closed Bug 1164091 Opened 9 years ago Closed 9 years ago

Ditch django-cache-machine for real.

Categories

(support.mozilla.org :: Code Quality, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED
2015Q2

People

(Reporter: rrosario, Assigned: rrosario)

References

Details

(Whiteboard: u=dev c=infra p=1 s=2015.9)

We stopped using cachine-machine for it's intended use case in bug 1113162. Our cache configurations are still using it everywhere though:

    'BACKEND': 'caching.backends.memcached.CacheClass'

We need to:
1- File WebOps bug to change the caching backend to a builtin django one. Need this on -dev, -stage and prod.
2- Fix all references to 'caching.*' in our settings, docs, code.

Here are the interesting instances I found by grepping:
configs/vagrant/settings_local.py:        'BACKEND': 'caching.backends.memcached.CacheClass',
kitsune/settings.py:#         'BACKEND': 'caching.backends.memcached.MemcachedCache',
kitsune/settings.py:    config = {'extensions': ['tower.template.i18n', 'caching.ext.cache',
kitsune/settings_local.py.dist:        'BACKEND': 'caching.backends.memcached.CacheClass',
kitsune/tags/models.py:    Mix this in after [your caching] ModelBase.
scripts/travis/setup.sh:CACHE_BACKEND = 'caching.backends.locmem://'
I'm making this block django 1.8.
Blocks: 1164035
Depends on: 1164514
(In reply to Ricky Rosario [:rrosario, :r1cky] from comment #0)
> 1- File WebOps bug to change the caching backend to a builtin django one.

bug 1164514
Assignee: nobody → rrosario
Status: NEW → ASSIGNED
Priority: -- → P3
Whiteboard: u=dev c=infra p= s= → u=dev c=infra p=1 s=2015.9
Target Milestone: --- → 2015Q2
I pushed this to production.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.