From patchwork Thu Jul 21 23:16:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 3037 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 4C8C223DE6 for ; Thu, 21 Jul 2011 23:16:25 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 1D389A181D2 for ; Thu, 21 Jul 2011 23:16:25 +0000 (UTC) Received: by qwb8 with SMTP id 8so1267714qwb.11 for ; Thu, 21 Jul 2011 16:16:24 -0700 (PDT) Received: by 10.229.73.196 with SMTP id r4mr796220qcj.266.1311290184544; Thu, 21 Jul 2011 16:16:24 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.217.78 with SMTP id hl14cs771qcb; Thu, 21 Jul 2011 16:16:24 -0700 (PDT) Received: by 10.227.6.18 with SMTP id 18mr695252wbx.66.1311290182581; Thu, 21 Jul 2011 16:16:22 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id fs8si3377576wbb.66.2011.07.21.16.16.22; Thu, 21 Jul 2011 16:16:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Qk2Td-00049t-WA for ; Thu, 21 Jul 2011 23:16:22 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id EF8E02E889B for ; Thu, 21 Jul 2011 23:16:21 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-server X-Launchpad-Branch: ~linaro-validation/lava-server/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 217 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-server/trunk] Rev 217: Turn off caching. Message-Id: <20110721231621.638.34738.launchpad@loganberry.canonical.com> Date: Thu, 21 Jul 2011 23:16:21 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13475"; Instance="initZopeless config overlay" X-Launchpad-Hash: 01843d7f701201351c288fe0ce181255fa987a2b ------------------------------------------------------------ revno: 217 committer: Zygmunt Krynicki 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 === 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