[Erp5-report] r44125 luke - in /erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5:...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Mar 10 14:58:09 CET 2011
Author: luke
Date: Thu Mar 10 14:58:09 2011
New Revision: 44125
URL: http://svn.erp5.org?rev=44125&view=rev
Log:
- allow to pass timeserver_interval
Modified:
erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/__init__.py
erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/template/zope.conf.timerservice.in
Modified: erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/__init__.py
URL: http://svn.erp5.org/erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/__init__.py?rev=44125&r1=44124&r2=44125&view=diff
==============================================================================
--- erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/__init__.py [utf8] (original)
+++ erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/__init__.py [utf8] Thu Mar 10 14:58:09 2011
@@ -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)
Modified: erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/template/zope.conf.timerservice.in
URL: http://svn.erp5.org/erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/template/zope.conf.timerservice.in?rev=44125&r1=44124&r2=44125&view=diff
==============================================================================
--- erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/template/zope.conf.timerservice.in [utf8] (original)
+++ erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/template/zope.conf.timerservice.in [utf8] Thu Mar 10 14:58:09 2011
@@ -2,5 +2,5 @@
# ERP5 Timer Service
%%import timerserver
<timer-server>
- interval 5
+ interval %(timeserver_interval)s
</timer-server>
More information about the Erp5-report
mailing list