Fix a bug that was introduced by commit 0081bb36363cf1c5e168e474291ea02ed188ec1c
Uncomment the periodic mapReader, because it was commented-out
by accident (it is the one pushing the state to the switches).
Comment-out the measureMapReaderHandle, which is used only for measurement
purpose.
diff --git a/src/main/java/net/floodlightcontroller/flowcache/FlowManager.java b/src/main/java/net/floodlightcontroller/flowcache/FlowManager.java
index a0c1635..24a0c58 100644
--- a/src/main/java/net/floodlightcontroller/flowcache/FlowManager.java
+++ b/src/main/java/net/floodlightcontroller/flowcache/FlowManager.java
@@ -467,13 +467,13 @@
measureShortestPathScheduler.scheduleAtFixedRate(measureShortestPath, 10, 10, TimeUnit.SECONDS);
*/
+ /*
final ScheduledFuture<?> measureMapReaderHandle =
measureMapReaderScheduler.scheduleAtFixedRate(measureMapReader, 10, 10, TimeUnit.SECONDS);
+ */
- /*
final ScheduledFuture<?> mapReaderHandle =
mapReaderScheduler.scheduleAtFixedRate(mapReader, 3, 3, TimeUnit.SECONDS);
- */
@Override
public void init(String conf) {