[Erp5-report] r36208 seb - in /erp5/trunk: buildout/templates/ utils/erp5.recipe.standalone...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jun 10 13:01:22 CEST 2010


Author: seb
Date: Thu Jun 10 13:01:20 2010
New Revision: 36208

URL: http://svn.erp5.org?rev=36208&view=rev
Log:
allow to customize the timer server interval when constructing
erp5 instance

Modified:
    erp5/trunk/buildout/templates/default-erp5-standalone-zope.conf.in
    erp5/trunk/utils/erp5.recipe.standaloneinstance/CHANGES.txt
    erp5/trunk/utils/erp5.recipe.standaloneinstance/setup.py
    erp5/trunk/utils/erp5.recipe.standaloneinstance/src/erp5/recipe/standaloneinstance/__init__.py

Modified: erp5/trunk/buildout/templates/default-erp5-standalone-zope.conf.in
URL: http://svn.erp5.org/erp5/trunk/buildout/templates/default-erp5-standalone-zope.conf.in?rev=36208&r1=36207&r2=36208&view=diff
==============================================================================
--- erp5/trunk/buildout/templates/default-erp5-standalone-zope.conf.in [utf8] (original)
+++ erp5/trunk/buildout/templates/default-erp5-standalone-zope.conf.in [utf8] Thu Jun 10 13:01:20 2010
@@ -657,6 +657,6 @@ default-zpublisher-encoding ${default-zp
 # Timeserver to have ticks in zope
 %import timerserver
 <timer-server>
-  interval 5
+  interval ${timer-server-interval}
 </timer-server>
 

Modified: erp5/trunk/utils/erp5.recipe.standaloneinstance/CHANGES.txt
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.recipe.standaloneinstance/CHANGES.txt?rev=36208&r1=36207&r2=36208&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.recipe.standaloneinstance/CHANGES.txt [utf8] (original)
+++ erp5/trunk/utils/erp5.recipe.standaloneinstance/CHANGES.txt [utf8] Thu Jun 10 13:01:20 2010
@@ -1,6 +1,12 @@
 Changelog
 =========
 
+0.4.1 (2010-06-10)
+----------------
+
+ - allow to customize the timer server interval
+   [Sebastien Robin]
+
 0.4 (2010-03-18)
 ----------------
 

Modified: erp5/trunk/utils/erp5.recipe.standaloneinstance/setup.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.recipe.standaloneinstance/setup.py?rev=36208&r1=36207&r2=36208&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.recipe.standaloneinstance/setup.py [utf8] (original)
+++ erp5/trunk/utils/erp5.recipe.standaloneinstance/setup.py [utf8] Thu Jun 10 13:01:20 2010
@@ -1,7 +1,7 @@
 from setuptools import setup, find_packages
 
 name = "erp5.recipe.standaloneinstance"
-version = '0.4'
+version = '0.4.1'
 
 def read(name):
     return open(name).read()

Modified: erp5/trunk/utils/erp5.recipe.standaloneinstance/src/erp5/recipe/standaloneinstance/__init__.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.recipe.standaloneinstance/src/erp5/recipe/standaloneinstance/__init__.py?rev=36208&r1=36207&r2=36208&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.recipe.standaloneinstance/src/erp5/recipe/standaloneinstance/__init__.py [utf8] (original)
+++ erp5/trunk/utils/erp5.recipe.standaloneinstance/src/erp5/recipe/standaloneinstance/__init__.py [utf8] Thu Jun 10 13:01:20 2010
@@ -37,6 +37,7 @@ class Recipe(plone.recipe.zope2instance.
     self.buildout, self.options, self.name = buildout, options, name
     self.zope2_location = options.get('zope2-location', '')
     self.mkzopeinstance = options.get('mkzopeinstance', '')
+    options['timer-server-interval'] = options.get('timer-server-interval', '5')
 
     # Relative path support for the generated scripts
     relative_paths = options.get(




More information about the Erp5-report mailing list