Hello folks.
Got a new characteristic unveiled,...
if I have a rule like this (with Fusion in STREAM mode)...
(Sensor is a fact)
rule "Test"
timer(int: 7s 7s)
when
$sensor : Sensor()
Number($avg : doubleValue > 0.0) from accumulate
(LoopDetectorEvent($vel : velocity, sensor == $sensor) over
window:time(7s), average($vel))
then
...
end
...Drools fires the rule correctly every 7 seconds for each Sensor fact.
BUT, it sometimes fires twice for random Sensors.
This is of course not intended. Is this a bug or can this behaviour be
explained?
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/timer-and-duration-tp...
Sent from the Drools - User mailing list archive at
Nabble.com.