From 9c9b035b2ef2858e0f571d70f316c03c3a1888bc Mon Sep 17 00:00:00 2001 From: Tristan Cavelier Date: Tue, 23 Aug 2016 12:01:04 +0200 Subject: [PATCH] erp5_core: change erp5_session cache type to Distributed Ram Cache Previously `Ram Cache` was used, causing anonymous clients to never use portal_session properly. Mainly for public forum captcha purpose. Now `Distributed Ram Cache` is used to share the session between the zope nodes. It's required to restart all zope nodes after this BT5 upgrade. --- .../portal_caches/erp5_session_cache/1.xml | 72 ------------------- .../portal_caches/erp5_session_cache/2.xml | 36 ++++++++++ 2 files changed, 36 insertions(+), 72 deletions(-) delete mode 100644 product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_caches/erp5_session_cache/1.xml create mode 100644 product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_caches/erp5_session_cache/2.xml diff --git a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_caches/erp5_session_cache/1.xml b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_caches/erp5_session_cache/1.xml deleted file mode 100644 index 4a248851ee7..00000000000 --- a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_caches/erp5_session_cache/1.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - _count - - AAAAAAAAAAI= - - - - _mt_index - - AAAAAAAAAAM= - - - - _tree - - AAAAAAAAAAQ= - - - - cache_expire_check_interval - 1800 - - - id - 1 - - - int_index - 0 - - - portal_type - Ram Cache - - - title - RAM Cache - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - diff --git a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_caches/erp5_session_cache/2.xml b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_caches/erp5_session_cache/2.xml new file mode 100644 index 00000000000..f8b9d1c58e6 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_caches/erp5_session_cache/2.xml @@ -0,0 +1,36 @@ + + + + + + + + + + categories + + + specialise/portal_memcached/default_memcached_plugin + + + + + id + 2 + + + int_index + 0 + + + portal_type + Distributed Ram Cache + + + title + Distributed Ram Cache + + + + + -- 2.30.9