Commit a78cc7bc authored by Romain Courteaud's avatar Romain Courteaud

No parameter is allowed if it doesn't explain why/when different values are

needed and how to make automatic for slapos.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44141 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 27dd919c
......@@ -424,11 +424,10 @@ class Recipe(BaseSlapRecipe):
return '%s:%s' % (config['zeo_ip'], config['zeo_port']), config['zeo_storagename']
def installZope(self, ip, port, name, zeo_address=None, zeo_storagename=None,
zodb_root_path=None, with_timerservice=False, timeserver_interval=5):
zodb_root_path=None, with_timerservice=False):
# Create zope configuration file
zope_config = dict(
products=self.options['products'],
timeserver_interval=timeserver_interval,
)
if zeo_address is not None and zeo_storagename is not None:
zope_config.update(zeo_address=zeo_address, zeo_storagename=zeo_storagename)
......
......@@ -2,5 +2,5 @@
# ERP5 Timer Service
%%import timerserver
<timer-server>
interval %(timeserver_interval)s
interval 5
</timer-server>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment