From 93339b545978e34d804cfda412901b25c7c469d6 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Mon, 28 Sep 2009 12:07:08 +0000
Subject: [PATCH] Increase timeout value, because flare storage can be slower
 than memcached storage

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29205 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/patches/memcache_client.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/product/ERP5Type/patches/memcache_client.py b/product/ERP5Type/patches/memcache_client.py
index 80621bd93f..a00e0838f1 100644
--- a/product/ERP5Type/patches/memcache_client.py
+++ b/product/ERP5Type/patches/memcache_client.py
@@ -147,3 +147,5 @@ if memcache is not None:
   Client._val_to_store_info = Client__val_to_store_info
   memcache.check_key = memcache_check_key
   del Client__init__, Client__val_to_store_info, memcache_check_key
+  _Host = memcache._Host
+  _Host._SOCKET_TIMEOUT = 10
-- 
2.30.9