commit | 9f700ec215780c553a9660793e32127a6cee2d8b | [log] [tgz] |
---|---|---|
author | Andrea Campanella <andrea@opennetworking.org> | Mon Oct 09 15:42:47 2017 -0700 |
committer | Brian O'Connor <bocon@opennetworking.org> | Wed Oct 18 22:31:11 2017 +0000 |
tree | 4a72262ee2aaf1157d6713665437ae0100c32797 | |
parent | b9b5d3f16f7bcf020305558ec9212539a31b03c1 [diff] |
FOR DEMO: updating poll frequency from 10 seconds to 5 seconds in GeneralDeviceProvider Change-Id: I0d731d27aa5bb591ae23ac043765f9e2b9bc6edf
diff --git a/providers/general/device/src/main/java/org/onosproject/provider/general/device/impl/GeneralDeviceProvider.java b/providers/general/device/src/main/java/org/onosproject/provider/general/device/impl/GeneralDeviceProvider.java index 6fd0ff6..0b2353e 100644 --- a/providers/general/device/src/main/java/org/onosproject/provider/general/device/impl/GeneralDeviceProvider.java +++ b/providers/general/device/src/main/java/org/onosproject/provider/general/device/impl/GeneralDeviceProvider.java
@@ -129,7 +129,7 @@ @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected PiPipeconfService piPipeconfService; - private static final int DEFAULT_POLL_FREQUENCY_SECONDS = 10; + private static final int DEFAULT_POLL_FREQUENCY_SECONDS = 5; @Property(name = "pollFrequency", intValue = DEFAULT_POLL_FREQUENCY_SECONDS, label = "Configure poll frequency for port status and statistics; " + "default is 10 sec")