Commit 19943329 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

now we can use timerserver in Zope-2.12 too that makes:

* activities will be invoked more often than every 30 seconds of ClockServer.
* no longer tons of /Control_Panel/timer_service/... in Z2.log.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41932 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 641c148c
...@@ -10,11 +10,11 @@ environment-vars = ...@@ -10,11 +10,11 @@ environment-vars =
PATH ${software_definition:software_home}/parts/imagemagick/bin:${software_definition:software_home}/parts/w3m/bin:${software_definition:software_home}/parts/xpdf/bin:${software_definition:software_home}/parts/ghostscript/bin:${software_definition:software_home}/parts/pdftk/bin:${software_definition:software_home}/parts/file/bin:${software_definition:software_home}/parts/graphviz/bin PATH ${software_definition:software_home}/parts/imagemagick/bin:${software_definition:software_home}/parts/w3m/bin:${software_definition:software_home}/parts/xpdf/bin:${software_definition:software_home}/parts/ghostscript/bin:${software_definition:software_home}/parts/pdftk/bin:${software_definition:software_home}/parts/file/bin:${software_definition:software_home}/parts/graphviz/bin
LD_LIBRARY_PATH ${software_definition:software_home}/parts/file/lib LD_LIBRARY_PATH ${software_definition:software_home}/parts/file/lib
zope-conf-additional = zope-conf-additional =
# Use the clock-server to trigger the TimerService # Timerserver to have ticks in zope
<clock-server> %import timerserver
method /Control_Panel/timer_service/process_timer?interval:int=5 <timer-server>
period 5 interval 5
</clock-server> </timer-server>
supervisor-priority = 30 supervisor-priority = 30
supervisor-program = supervisor-program =
${:supervisor-priority} ${:_buildout_section_name_} (stdout_logfile=NONE) ${buildout:bin-directory}/runzope [-C ${buildout:parts-directory}/${:_buildout_section_name_}/etc/zope.conf] true ${:supervisor-priority} ${:_buildout_section_name_} (stdout_logfile=NONE) ${buildout:bin-directory}/runzope [-C ${buildout:parts-directory}/${:_buildout_section_name_}/etc/zope.conf] true
......
...@@ -11,7 +11,7 @@ environment-vars = ...@@ -11,7 +11,7 @@ environment-vars =
PATH ${software_definition:software_home}/parts/imagemagick/bin:${software_definition:software_home}/parts/w3m/bin:${software_definition:software_home}/parts/xpdf/bin:${software_definition:software_home}/parts/ghostscript/bin:${software_definition:software_home}/parts/pdftk/bin:${software_definition:software_home}/parts/file/bin:${software_definition:software_home}/parts/graphviz/bin PATH ${software_definition:software_home}/parts/imagemagick/bin:${software_definition:software_home}/parts/w3m/bin:${software_definition:software_home}/parts/xpdf/bin:${software_definition:software_home}/parts/ghostscript/bin:${software_definition:software_home}/parts/pdftk/bin:${software_definition:software_home}/parts/file/bin:${software_definition:software_home}/parts/graphviz/bin
LD_LIBRARY_PATH ${software_definition:software_home}/parts/file/lib LD_LIBRARY_PATH ${software_definition:software_home}/parts/file/lib
zope-conf-additional = zope-conf-additional =
# Timeserver to have ticks in zope # Timerserver to have ticks in zope
%import timerserver %import timerserver
<timer-server> <timer-server>
interval 5 interval 5
......
...@@ -19,6 +19,7 @@ erp5.recipe.mysqlserver >= 1.1.3 ...@@ -19,6 +19,7 @@ erp5.recipe.mysqlserver >= 1.1.3
erp5.recipe.sphinxserver >= 1.0.2 erp5.recipe.sphinxserver >= 1.0.2
hexagonit.recipe.cmmi >= 1.5.0 hexagonit.recipe.cmmi >= 1.5.0
python-memcached >= 1.45 python-memcached >= 1.45
timerserver >= 2.0.1
xml-marshaller >= 0.9.2 xml-marshaller >= 0.9.2
# Zope Known Good Set is incompatible with buildout 1.5.0 in case of # Zope Known Good Set is incompatible with buildout 1.5.0 in case of
......
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