-
Notifications
You must be signed in to change notification settings - Fork 277
Open
Description
在 nConcurrentMSort
执行模式下,当 b = false
时,即使前 n 个并发执行的规则执行成功了,也不会继续执行后续的 m-1
条规则了。
例如下面的规则:
rule "A1" salience 100
begin
print(@name)
end
rule "A2" salience 100
begin
print(@name)
end
rule "A3" salience 100
begin
print(@name)
end
rule "B1" salience 3
begin
print(@name)
end
rule "B2" salience 2
begin
print(@name)
end
在执行 nConcurrentMSort(3, 2, ruleBuilder, false)
时,只有 B1
执行了,B2
没有执行。只有 b=true
时才会执行 B2
Metadata
Metadata
Assignees
Labels
No labels