drools7开启多线程提示The rete network cannot be partitioned: disabling multithread eval

jifeidanda 2019-08-20
System.setProperty("drools.multithreadEvaluation", "true");
System.setProperty("drools.maxThreads", "10");
开启多线程,编译完后提示"The rete network cannot be partitioned: disabling multithread evaluation",自动切换到单线程。
查看源码hasMultiplePartitions()不通过。
        if (config.isMultithreadEvaluation() && !hasMultiplePartitions()) {
            disableMultithreadEvaluation("The rete network cannot be partitioned: disabling multithread evaluation");
        }
哪位大神遇到过类似问题,是否还要进行其他的设置?
zzship 2020-04-22
你好,请问有解决么,我这边也有同样的错误,谢谢。
Global site tag (gtag.js) - Google Analytics