Skip to content
Snippets Groups Projects
Commit 423c5532 authored by Kanzhe Jiang's avatar Kanzhe Jiang
Browse files

flush flowcache count before update thread count

parent 4e182b9c
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ public class FlowReconcileManager
protected static final String EnableConfigKey = "enable";
protected boolean flowReconcileEnabled;
public int flowReconcileThreadRunCount;
volatile public int flowReconcileThreadRunCount;
@Override
public synchronized void addFlowReconcileListener(
......@@ -311,9 +311,9 @@ public class FlowReconcileManager
break;
}
}
flowReconcileThreadRunCount++;
// Flush the flowCache counters.
updateFlush();
flowReconcileThreadRunCount++;
} else {
if (logger.isTraceEnabled()) {
logger.trace("No flow to be reconciled.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment