Commit 3e7b3fa6 authored by Ivan A. Shmakov's avatar Ivan A. Shmakov

Fix send double messages

If route.really-all-resources enabled it's not requere process message again via priority algorithm.
We already processed in 560 line. 
If we not stop (return) than session.process() call twice (first in line 560 and next in next other)
parent 80386d5f
......@@ -560,6 +560,9 @@ public class RoutingTableImpl extends BasicModule implements RoutingTable, Clust
session.process(packet);
}
}
if (JiveGlobals.getBooleanProperty("route.really-all-resources", false))
return true;
// Get the highest priority sessions for normal processing.
List<ClientSession> highestPrioritySessions = getHighestPrioritySessions(nonNegativePrioritySessions);
......
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