Commit
86a3fc1b047d7a3430253a00545ef6082b322fb7
Exists in
master
and in
39 other branches
1.12.x, add_requests_as_dep, celery_service, change-passwd-signal, check-port, colab-signals, colab-vcard, colab_search, colab_tag, colab_tag_merge, community_association, detach_super_archives, fix-dashboard, fix-message-preview, fix_app_label, fix_cache_count_spb, fix_header, fixed_gitlab_import, go_to_profile_panel, header_footer, layout-fix, mobile_user_scalable, move_out_plugins, paginate-threads, profile_integration, refactor-data-import, remove-gitlab-plugin, removing_namespace, search_block, search_filters, spb-release/3.0, split_screen, stable, startplugin, timestamp_plugins, translation_review, user_regex, validate-passwd, workin_whoosh_temp
Using memcached for caching
| @@ -88,4 +88,9 @@ class colab::requirements { |
| @@ -88,4 +88,9 @@ class colab::requirements { |
88
| package { 'openjdk-7-jre': |
88
| package { 'openjdk-7-jre': |
89
| ensure => installed, |
89
| ensure => installed, |
90
| } |
90
| } |
| |
91
| + |
| |
92
| + package { 'memcached': |
| |
93
| + ensure => installed, |
| |
94
| + } |
| |
95
| + |
91
| } |
96
| } |
| @@ -13,6 +13,7 @@ pysolr==2.1 |
| @@ -13,6 +13,7 @@ pysolr==2.1 |
13
| etiquetando==0.1 |
13
| etiquetando==0.1 |
14
| html2text |
14
| html2text |
15
| django-taggit |
15
| django-taggit |
| |
16
| +python-memcached |
16
| |
17
| |
17
| gunicorn |
18
| gunicorn |
18
| gevent |
19
| gevent |
| @@ -63,6 +63,13 @@ DATABASES = { |
| @@ -63,6 +63,13 @@ DATABASES = { |
63
| } |
63
| } |
64
| } |
64
| } |
65
| |
65
| |
| |
66
| +CACHES = { |
| |
67
| + 'default': { |
| |
68
| + 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', |
| |
69
| + 'LOCATION': '127.0.0.1:11211', |
| |
70
| + } |
| |
71
| +} |
| |
72
| + |
66
| DATABASE_ROUTERS = ['colab.routers.TracRouter',] |
73
| DATABASE_ROUTERS = ['colab.routers.TracRouter',] |
67
| |
74
| |
68
| INSTALLED_APPS = INSTALLED_APPS + ( |
75
| INSTALLED_APPS = INSTALLED_APPS + ( |