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
Xiaohe Cao
slapos
Commits
c4f7f891
Commit
c4f7f891
authored
Dec 30, 2011
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update zope node's name so that they get well sorted
also remove useless import
parent
212c271c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
slapos/recipe/erp5/__init__.py
slapos/recipe/erp5/__init__.py
+2
-3
No files found.
slapos/recipe/erp5/__init__.py
View file @
c4f7f891
...
@@ -32,7 +32,6 @@ import pprint
...
@@ -32,7 +32,6 @@ import pprint
import
hashlib
import
hashlib
import
sys
import
sys
import
zc.buildout
import
zc.buildout
import
zc.recipe.egg
import
ConfigParser
import
ConfigParser
import
re
import
re
...
@@ -260,7 +259,7 @@ SSLCARevocationPath %(ca_crl)s"""
...
@@ -260,7 +259,7 @@ SSLCARevocationPath %(ca_crl)s"""
# Activity Nodes (Single Thread Always)
# Activity Nodes (Single Thread Always)
for
i
in
range
(
activity_node_amount
):
for
i
in
range
(
activity_node_amount
):
zope_port
+=
1
zope_port
+=
1
self
.
installZope
(
ip
,
zope_port
,
'zope_activity_%
s'
%
i
,
self
.
installZope
(
ip
,
zope_port
,
'zope_activity_%
02d'
%
int
(
i
)
,
with_timerservice
=
True
,
with_timerservice
=
True
,
zodb_configuration_string
=
zodb_configuration_string
,
zodb_configuration_string
=
zodb_configuration_string
,
tidstorage_config
=
tidstorage_config
)
tidstorage_config
=
tidstorage_config
)
...
@@ -270,7 +269,7 @@ SSLCARevocationPath %(ca_crl)s"""
...
@@ -270,7 +269,7 @@ SSLCARevocationPath %(ca_crl)s"""
for
i
in
range
(
user_node_amount
):
for
i
in
range
(
user_node_amount
):
zope_port
+=
1
zope_port
+=
1
login_url_list
.
append
(
self
.
installZope
(
ip
,
zope_port
,
login_url_list
.
append
(
self
.
installZope
(
ip
,
zope_port
,
'zope_login_%
s'
%
i
,
with_timerservice
=
False
,
'zope_login_%
02d'
%
int
(
i
)
,
with_timerservice
=
False
,
zodb_configuration_string
=
zodb_configuration_string
,
zodb_configuration_string
=
zodb_configuration_string
,
tidstorage_config
=
tidstorage_config
,
tidstorage_config
=
tidstorage_config
,
thread_amount
=
thread_amount_per_zope
))
thread_amount
=
thread_amount_per_zope
))
...
...
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