Commit af8479d1 authored by Vincent Pelletier's avatar Vincent Pelletier

Change the processing_node value boundary over which activities are considered...

Change the processing_node value boundary over which activities are considered in dependencies computation.
This makes "-3"-failing activities block activities depending on them (safer than not).
This also makes it possible to set activities manualy to a processing node between -3 and -10 (boundaries exclued) to manualy postpone some activites while not breaking their dependencies.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25582 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 902ef343
...@@ -23,7 +23,7 @@ SELECT ...@@ -23,7 +23,7 @@ SELECT
FROM FROM
message message
WHERE WHERE
processing_node >= -2 processing_node > -10
<dtml-if expr="method_id is not None"> <dtml-if expr="method_id is not None">
AND method_id IN ( AND method_id IN (
<dtml-in method_id><dtml-sqlvar sequence-item type="string"><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in> <dtml-in method_id><dtml-sqlvar sequence-item type="string"><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>
......
...@@ -23,7 +23,7 @@ SELECT ...@@ -23,7 +23,7 @@ SELECT
FROM FROM
message_queue message_queue
WHERE WHERE
processing_node >= -2 processing_node > -10
<dtml-if expr="method_id is not None"> <dtml-if expr="method_id is not None">
AND method_id IN ( AND method_id IN (
<dtml-in method_id><dtml-sqlvar sequence-item type="string"><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in> <dtml-in method_id><dtml-sqlvar sequence-item type="string"><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>
......
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