From aa7c4615c7dda6997281f10a8e0bcf97248becc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Sun, 29 Oct 2023 22:48:39 +0900 Subject: [PATCH] software/slapos-master: support new "with-max-rlimit-nofile" option --- software/slapos-master/buildout.hash.cfg | 2 +- software/slapos-master/instance-erp5.cfg.in | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/software/slapos-master/buildout.hash.cfg b/software/slapos-master/buildout.hash.cfg index d695857be..ed7465056 100644 --- a/software/slapos-master/buildout.hash.cfg +++ b/software/slapos-master/buildout.hash.cfg @@ -14,7 +14,7 @@ # not need these here). [template-erp5] filename = instance-erp5.cfg.in -md5sum = 2491969d49f8bf9b172e89b1c0e9d98e +md5sum = c605292e57a12e42d9c2676e38c072c6 [template-balancer] filename = instance-balancer.cfg.in diff --git a/software/slapos-master/instance-erp5.cfg.in b/software/slapos-master/instance-erp5.cfg.in index 2c344762b..74765c3d7 100644 --- a/software/slapos-master/instance-erp5.cfg.in +++ b/software/slapos-master/instance-erp5.cfg.in @@ -303,6 +303,7 @@ config-longrequest-logger-interval = {{ dumps(zope_parameter_dict.get('longreque config-longrequest-logger-timeout = {{ dumps(zope_parameter_dict.get('longrequest-logger-timeout', 1)) }} config-large-file-threshold = {{ dumps(zope_parameter_dict.get('large-file-threshold', "10MB")) }} config-port-base = {{ dumps(zope_parameter_dict.get('port-base', 2200)) }} +config-with-max-rlimit-nofile = {{ dumps(slapparameter_dict.get('with-max-rlimit-nofile', false)) }} {# BBB: zope_parameter_dict used to contain 'webdav', so fallback to it -#} config-webdav = {{ dumps(current_zope_family_override_dict.get('webdav', zope_parameter_dict.get('webdav', False))) }} config-publisher-timeout = {{ dumps(current_zope_family_override_dict.get('publisher-timeout', global_publisher_timeout)) }} @@ -446,7 +447,7 @@ config-haproxy-server-check-path = {{ dumps(balancer_dict.get('haproxy-server-ch config-monitor-passwd = ${monitor-htpasswd:passwd} config-ssl = {{ dumps(balancer_dict['ssl']) }} config-name = ${:name} -config-shared-certificate-authority-path = ${directory:ca-dir} +config-shared-certificate-authority-path = ${directory:ca-dir} config-backend-path-dict = {{ dumps(zope_backend_path_dict) }} config-ssl-authentication-dict = {{ dumps(ssl_authentication_dict) }} config-apachedex-promise-threshold = {{ dumps(monitor_dict.get('apachedex-promise-threshold', 70)) }} -- 2.30.9