diff --git a/slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py b/slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py index f3e5111533a51bbaf55ad835fb6219bb3c5011a6..85ca5f972dfd254176721c639cd3fb77f2fe3885 100644 --- a/slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py +++ b/slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py @@ -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) diff --git a/slapos/recipe/erp5/src/slapos/recipe/erp5/template/zope.conf.timerservice.in b/slapos/recipe/erp5/src/slapos/recipe/erp5/template/zope.conf.timerservice.in index 707c6bab66727c76535bd64ef1ef9923dc7c97b4..f11812f7bb086d1ff4002ed79a3606c4d9cb00df 100644 --- a/slapos/recipe/erp5/src/slapos/recipe/erp5/template/zope.conf.timerservice.in +++ b/slapos/recipe/erp5/src/slapos/recipe/erp5/template/zope.conf.timerservice.in @@ -2,5 +2,5 @@ # ERP5 Timer Service %%import timerserver <timer-server> - interval 5 + interval %(timeserver_interval)s </timer-server>