Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yusei Tahara
erp5
Commits
c69b48e6
Commit
c69b48e6
authored
May 05, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to configure amount of threads in Zope node.
parent
edc89dbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py
slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py
+2
-1
slapos/recipe/erp5/src/slapos/recipe/erp5/template/zope.conf.in
.../recipe/erp5/src/slapos/recipe/erp5/template/zope.conf.in
+1
-1
No files found.
slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py
View file @
c69b48e6
...
@@ -614,10 +614,11 @@ class Recipe(BaseSlapRecipe):
...
@@ -614,10 +614,11 @@ class Recipe(BaseSlapRecipe):
return
dict
(
host
=
ip
,
port
=
port
)
return
dict
(
host
=
ip
,
port
=
port
)
def
installZope
(
self
,
ip
,
port
,
name
,
zodb_configuration_string
,
def
installZope
(
self
,
ip
,
port
,
name
,
zodb_configuration_string
,
with_timerservice
=
False
,
tidstorage_config
=
None
):
with_timerservice
=
False
,
tidstorage_config
=
None
,
thread_amount
=
1
):
# Create zope configuration file
# Create zope configuration file
zope_config
=
dict
(
zope_config
=
dict
(
products
=
self
.
options
[
'products'
],
products
=
self
.
options
[
'products'
],
thread_amount
=
thread_amount
)
)
zope_config
[
'zodb_configuration_string'
]
=
zodb_configuration_string
zope_config
[
'zodb_configuration_string'
]
=
zodb_configuration_string
zope_config
[
'instance'
]
=
self
.
erp5_directory
zope_config
[
'instance'
]
=
self
.
erp5_directory
...
...
slapos/recipe/erp5/src/slapos/recipe/erp5/template/zope.conf.in
View file @
c69b48e6
...
@@ -19,7 +19,7 @@ instancehome $INSTANCE
...
@@ -19,7 +19,7 @@ instancehome $INSTANCE
debug-mode off
debug-mode off
# One thread is safe enough
# One thread is safe enough
zserver-threads
1
zserver-threads
%(thread_amount)s
# File location
# File location
pid-filename %(pid-filename)s
pid-filename %(pid-filename)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