reschedule threads sooner
diff --git a/src/main/java/net/floodlightcontroller/flowcache/FlowManager.java b/src/main/java/net/floodlightcontroller/flowcache/FlowManager.java
index 59e6f46..263ee10 100644
--- a/src/main/java/net/floodlightcontroller/flowcache/FlowManager.java
+++ b/src/main/java/net/floodlightcontroller/flowcache/FlowManager.java
@@ -126,7 +126,7 @@
new LinkedList<IFlowEntry>();
//
- // Fetch all Flow Entries and select only my Flow Entries
+ // Fetch all Flow Entries which need to be updated and select only my Flow Entries
// that need to be updated into the switches.
//
boolean processed_measurement_flow = false;
@@ -488,9 +488,9 @@
nextFlowEntryIdPrefix = randomGenerator.nextInt();
mapReaderScheduler.scheduleAtFixedRate(
- mapReader, 3, 3, TimeUnit.SECONDS);
+ mapReader, 100, 100, TimeUnit.MILLISECONDS);
shortestPathReconcileScheduler.scheduleAtFixedRate(
- shortestPathReconcile, 3, 3, TimeUnit.SECONDS);
+ shortestPathReconcile, 100, 100, TimeUnit.MILLISECONDS);
}
/**