diff mbox

[Branch,~linaro-validation/lava-server/trunk] Rev 217: Turn off caching.

Message ID 20110721231621.638.34738.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Zygmunt Krynicki July 21, 2011, 11:16 p.m. UTC
------------------------------------------------------------
revno: 217
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
branch nick: trunk
timestamp: Fri 2011-07-22 01:11:25 +0200
message:
  Turn off caching.
  
  Thank you very much, we need to research the topic harder before using the
  caching framework for production.
modified:
  lava_server/settings/common.py


--
lp:lava-server
https://code.launchpad.net/~linaro-validation/lava-server/trunk

You are subscribed to branch lp:lava-server.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_server/settings/common.py'
--- lava_server/settings/common.py	2011-07-20 20:29:51 +0000
+++ lava_server/settings/common.py	2011-07-21 23:11:25 +0000
@@ -57,9 +57,7 @@ 
     'django.middleware.csrf.CsrfViewMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
-    'django.middleware.cache.UpdateCacheMiddleware',
     'django.middleware.common.CommonMiddleware',
-    'django.middleware.cache.FetchFromCacheMiddleware',
     'django.middleware.transaction.TransactionMiddleware',
 ]
 
@@ -128,8 +126,3 @@ 
 # This is fixed in south 0.7.1, if we upgrade past that it's safe to
 # remove this line.
 SKIP_SOUTH_TESTS = True
-
-
-CACHE_BACKEND = "locmem://"
-CACHE_MIDDLEWARE_SECONDS = 60 * 60
-CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True