Commit 8a31a2a3 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Allow to specify cache_size for zeo client.

parent 6057343c
...@@ -161,6 +161,7 @@ class Recipe(BaseSlapRecipe): ...@@ -161,6 +161,7 @@ class Recipe(BaseSlapRecipe):
# XXX How to define good values for this? # XXX How to define good values for this?
mount_point = '/' mount_point = '/'
cache_size = 5000
check_path = '/erp5/account_module' check_path = '/erp5/account_module'
known_tid_storage_identifier_dict = {} known_tid_storage_identifier_dict = {}
...@@ -172,7 +173,7 @@ class Recipe(BaseSlapRecipe): ...@@ -172,7 +173,7 @@ class Recipe(BaseSlapRecipe):
self.getTemplateFilename('zope-zeo-snippet.conf.in'), dict( self.getTemplateFilename('zope-zeo-snippet.conf.in'), dict(
storage_name=storage_dict['storage_name'], storage_name=storage_dict['storage_name'],
address='%s:%s' % (storage_dict['ip'], storage_dict['port']), address='%s:%s' % (storage_dict['ip'], storage_dict['port']),
mount_point=mount_point mount_point=mount_point, cache_size=cache_size
)) ))
zope_port = 12000 zope_port = 12000
......
<zodb_db %(storage_name)s> <zodb_db %(storage_name)s>
cache-size %(cache_size)s
mount-point %(mount_point)s mount-point %(mount_point)s
<zeoclient> <zeoclient>
server %(address)s server %(address)s
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment