1 |
diff -up Pootle-2.0.0-rc2/localsettings.py.fedora-settings Pootle-2.0.0-rc2/localsettings.py |
2 |
--- Pootle-2.0.0-rc2/localsettings.py.fedora-settings 2009-11-25 13:27:26.000000000 +0200 |
3 |
+++ Pootle-2.0.0-rc2/localsettings.py 2009-11-27 16:02:58.000000000 +0200 |
4 |
@@ -56,10 +56,10 @@ PARSE_POOL_CULL_FREQUENCY = 4 |
5 |
# By default we use Django's in memory cache which is only suitable |
6 |
# for small deployments. memcached is prefered. For more info, check |
7 |
# http://docs.djangoproject.com/en/dev/topics/cache/#setting-up-the-cache |
8 |
-CACHE_BACKEND = 'locmem:///?max_entries=4096&cull_frequency=5' |
9 |
+#CACHE_BACKEND = 'locmem:///?max_entries=4096&cull_frequency=5' |
10 |
|
11 |
# Uncomment to use memcached for caching |
12 |
-#CACHE_BACKEND = 'memcached://127.0.0.1:11211/' |
13 |
+CACHE_BACKEND = 'memcached://127.0.0.1:11211/' |
14 |
|
15 |
# Using memcached to store sessions improves performance for anonymous |
16 |
# users. For more info, check |
17 |
@@ -69,7 +69,7 @@ CACHE_BACKEND = 'locmem:///?max_entries= |
18 |
#SESSION_ENGINE = 'django.contrib.sessions.backends.cache' |
19 |
|
20 |
# Uncomment this if you're using memcached as CACHE_BACKEND and running under Django 1.1 |
21 |
-#SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db' |
22 |
+SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db' |
23 |
|
24 |
# To improve performance, non-logged users get cached copies of most pages. |
25 |
# This variable is the number of seconds for which a page will be reused from |