Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 263c88a6d51a2f19ebbd149a658c7cc8 > files > 3

pootle-2.1.6-1.fc14.src.rpm

diff -up Pootle-2.1.5/localsettings.py.fedora-settings Pootle-2.1.5/localsettings.py
--- Pootle-2.1.5/localsettings.py.fedora-settings	2010-12-29 08:59:26.000000000 +0200
+++ Pootle-2.1.5/localsettings.py	2011-01-18 21:55:59.991568215 +0200
@@ -69,10 +69,10 @@ PARSE_POOL_CULL_FREQUENCY = 4
 # By default we use Django's in memory cache which is only suitable
 # for small deployments. memcached is preferred. For more info, check
 # http://docs.djangoproject.com/en/dev/topics/cache/#setting-up-the-cache
-CACHE_BACKEND = 'db://pootlecache?max_entries=65536&cull_frequency=16'
+#CACHE_BACKEND = 'db://pootlecache?max_entries=65536&cull_frequency=16'
 
 # Uncomment to use memcached for caching
-#CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
+CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
 
 # Using memcached to store sessions improves performance for anonymous
 # users. For more info, check
@@ -82,7 +82,7 @@ CACHE_BACKEND = 'db://pootlecache?max_en
 #SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
 
 # Uncomment this if you're using memcached as CACHE_BACKEND and running under Django >= 1.1
-#SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'
+SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'
 
 # To improve performance, non-logged users get cached copies of most pages.
 # This variable is the number of seconds for which a page will be reused from