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
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
Steven Gueguen
slapos
Commits
4346b389
Commit
4346b389
authored
Nov 30, 2023
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! stack/erp5: add sql-read-committed-connection.
parent
7df3a5c6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
stack/erp5/buildout.hash.cfg
stack/erp5/buildout.hash.cfg
+2
-2
stack/erp5/instance-zope.cfg.in
stack/erp5/instance-zope.cfg.in
+0
-2
stack/erp5/zope.conf.in
stack/erp5/zope.conf.in
+1
-3
No files found.
stack/erp5/buildout.hash.cfg
View file @
4346b389
...
...
@@ -34,7 +34,7 @@ md5sum = 45cc45510b59ceb730b6e38448b5c0c3
[template-zope-conf]
filename = zope.conf.in
md5sum = 2
2d47c78a364e32ebe5fa93fa18caf6d
md5sum = 2
6b323080f2d53a302e178349268e112
[site-zcml]
filename = site.zcml
...
...
@@ -86,7 +86,7 @@ md5sum = 0ac4b74436f554cd677f19275d18d880
[template-zope]
filename = instance-zope.cfg.in
md5sum =
e1d22118dfcc8d5e929ffa647e0f725
6
md5sum =
9e6440425167a506bd473a3697eaa9e
6
[template-balancer]
filename = instance-balancer.cfg.in
...
...
stack/erp5/instance-zope.cfg.in
View file @
4346b389
...
...
@@ -264,8 +264,6 @@ inituser = {{ slapparameter_dict['inituser-login'] }}
{% set mysql_db = mysql.path.split('/')[1] -%}
sql-connection-string = {{ '%s@erp5-catalog-0:%s %s %s' % (
mysql_db, mysql.port, mysql.username, mysql.password) }}
sql-read-committed-connection-string = {{ '!READ-COMMITTED %s@erp5-catalog-0:%s %s %s' % (
mysql_db, mysql.port, mysql.username, mysql.password) }}
bt5 = {{ slapparameter_dict['bt5'] }}
bt5-repository-url = {{ slapparameter_dict['bt5-repository-url'] }}
id-store-interval = {{ dumps(slapparameter_dict['id-store-interval']) }}
...
...
stack/erp5/zope.conf.in
View file @
4346b389
...
...
@@ -58,7 +58,6 @@ trusted-proxy 0.0.0.0
{% set sql_connection_string = parameter_dict.get('sql-connection-string') -%}
{% set sql_read_committed_connection_string = parameter_dict.get('sql-read-committed-connection-string') -%}
{% if sql_connection_string -%}
{% set bt5_repository_url = [] -%}
{% set sr_path = os.path.realpath(parameter_dict['home'] + '/software_release') + '/' -%}
...
...
@@ -72,8 +71,7 @@ trusted-proxy 0.0.0.0
id {{ parameter_dict['site-id'] }}
owner {{ parameter_dict['inituser'] }}
erp5_sql_connection_string {{ sql_connection_string }}
erp5_sql_read_committed_connection_string {{ sql_read_committed_connection_string }}
cmf_activity_sql_connection_string {{ sql_read_committed_connection_string }}
cmf_activity_sql_connection_string !READ-COMMITTED {{ sql_connection_string }}
bt5_repository_url {{ ' '.join(bt5_repository_url) }}
bt5 {{ parameter_dict['bt5'] }}
{%- if parameter_dict['id-store-interval'] != None %}
...
...
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