Commit b08aaa4f authored by Łukasz Nowak's avatar Łukasz Nowak

- allow to pass timeserver_interval

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44125 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ad5a4b90
......@@ -440,10 +440,11 @@ class Recipe(BaseSlapRecipe):
self.path_list.append(wrapper)
def installZope(self, ip, port, name, zeo_address=None, zeo_storagename=None,
zodb_root_path=None, with_timerservice=False):
zodb_root_path=None, with_timerservice=False, timeserver_interval=5):
# 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 5
interval %(timeserver_interval)s
</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