From 56eb3e283cde9106f7dc6c2955bcfcb09c6bb971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 12 Mar 2012 15:34:53 +0100 Subject: [PATCH] Remove unused CONTEXT_CACHE_SIZE constant --- trytond/backend/database.py | 2 +- trytond/const.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/trytond/backend/database.py b/trytond/backend/database.py index 3ca6b181fc..862b82b18b 100644 --- a/trytond/backend/database.py +++ b/trytond/backend/database.py @@ -1,6 +1,6 @@ #This file is part of Tryton. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms. -from trytond.const import CONTEXT_CACHE_SIZE, MODEL_CACHE_SIZE +from trytond.const import MODEL_CACHE_SIZE DatabaseIntegrityError = None DatabaseOperationalError = None diff --git a/trytond/const.py b/trytond/const.py index b0a2006442..13995b3db7 100644 --- a/trytond/const.py +++ b/trytond/const.py @@ -18,7 +18,6 @@ OPERATORS = ( '>', ) -CONTEXT_CACHE_SIZE = 10 MODEL_CACHE_SIZE = 200 RECORD_CACHE_SIZE = 2000 BROWSE_FIELD_TRESHOLD = 100