Committed by
Gerrit Code Review
setting periodic calls to reasonable intervals
Change-Id: I92f790ff3ea632d39bf6656201addf0346dcbd98
Showing
2 changed files
with
2 additions
and
2 deletions
| ... | @@ -25,7 +25,7 @@ import java.util.concurrent.Future; | ... | @@ -25,7 +25,7 @@ import java.util.concurrent.Future; |
| 25 | */ | 25 | */ |
| 26 | public interface FlowRuleProvider extends Provider { | 26 | public interface FlowRuleProvider extends Provider { |
| 27 | 27 | ||
| 28 | - static final int POLL_INTERVAL = 2; | 28 | + static final int POLL_INTERVAL = 10; |
| 29 | 29 | ||
| 30 | /** | 30 | /** |
| 31 | * Instructs the provider to apply the specified flow rules to their | 31 | * Instructs the provider to apply the specified flow rules to their | ... | ... |
| ... | @@ -90,7 +90,7 @@ public class TopologyViewWebSocket | ... | @@ -90,7 +90,7 @@ public class TopologyViewWebSocket |
| 90 | 90 | ||
| 91 | private static final String APP_ID = "org.onosproject.gui"; | 91 | private static final String APP_ID = "org.onosproject.gui"; |
| 92 | 92 | ||
| 93 | - private static final long TRAFFIC_FREQUENCY = 2000; | 93 | + private static final long TRAFFIC_FREQUENCY = 5000; |
| 94 | private static final long SUMMARY_FREQUENCY = 30000; | 94 | private static final long SUMMARY_FREQUENCY = 30000; |
| 95 | 95 | ||
| 96 | private static final Comparator<? super ControllerNode> NODE_COMPARATOR = | 96 | private static final Comparator<? super ControllerNode> NODE_COMPARATOR = | ... | ... |
-
Please register or login to post a comment