Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jean-Paul Smets
slapos
Commits
8a31a2a3
Commit
8a31a2a3
authored
Aug 18, 2011
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to specify cache_size for zeo client.
parent
6057343c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
slapos/recipe/erp5/__init__.py
slapos/recipe/erp5/__init__.py
+2
-1
slapos/recipe/erp5/template/zope-zeo-snippet.conf.in
slapos/recipe/erp5/template/zope-zeo-snippet.conf.in
+1
-0
No files found.
slapos/recipe/erp5/__init__.py
View file @
8a31a2a3
...
...
@@ -161,6 +161,7 @@ class Recipe(BaseSlapRecipe):
# XXX How to define good values for this?
mount_point
=
'/'
cache_size
=
5000
check_path
=
'/erp5/account_module'
known_tid_storage_identifier_dict
=
{}
...
...
@@ -172,7 +173,7 @@ class Recipe(BaseSlapRecipe):
self
.
getTemplateFilename
(
'zope-zeo-snippet.conf.in'
),
dict
(
storage_name
=
storage_dict
[
'storage_name'
],
address
=
'%s:%s'
%
(
storage_dict
[
'ip'
],
storage_dict
[
'port'
]),
mount_point
=
mount_point
mount_point
=
mount_point
,
cache_size
=
cache_size
))
zope_port
=
12000
...
...
slapos/recipe/erp5/template/zope-zeo-snippet.conf.in
View file @
8a31a2a3
<zodb_db %(storage_name)s>
cache-size %(cache_size)s
mount-point %(mount_point)s
<zeoclient>
server %(address)s
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment