From a3933d633ed8587e9dacfd667a156399ebfa71ca Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Mon, 15 Jun 2009 15:21:33 +0000
Subject: [PATCH] Declare new property to set limitation of Max value len

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27581 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/PropertySheet/MemcachedPlugin.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/product/ERP5Type/PropertySheet/MemcachedPlugin.py b/product/ERP5Type/PropertySheet/MemcachedPlugin.py
index d572df2261..11750ec177 100644
--- a/product/ERP5Type/PropertySheet/MemcachedPlugin.py
+++ b/product/ERP5Type/PropertySheet/MemcachedPlugin.py
@@ -37,5 +37,12 @@ class MemcachedPlugin:
          'type'        : 'int',
          'default'     :  250,
          'mode'        : 'w' ,
-        },)
+        },
+        {'id'          : 'server_max_value_length',
+         'description' : 'Max value len authorised by Server. 0 means no limit',
+         'type'        : 'int',
+         'default'     :  1048576,
+         'mode'        : 'w' ,
+        },
+        )
 
-- 
2.30.9