commit | 17a200e0c12fefe03978c2a595905a7e3bf87171 | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Wed Sep 13 16:14:22 2017 -0700 |
committer | Charles Chan <charles@opennetworking.org> | Thu Sep 14 02:55:53 2017 +0000 |
tree | 2c4e19f9ff6f77cfc40b61c97a9834fd7a56d06c | |
parent | 9ff637e3089ae2160f53eab52e9cec2ec6ef4c46 [diff] [blame] |
Resolve false probing timeout by delaying the proble a little bit Change-Id: Ib087f72fa742c614e8b6916a9ea0be4ee08ab064
diff --git a/core/store/dist/src/main/java/org/onosproject/store/host/impl/DistributedHostStore.java b/core/store/dist/src/main/java/org/onosproject/store/host/impl/DistributedHostStore.java index 8a913cd..5f59921 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/host/impl/DistributedHostStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/host/impl/DistributedHostStore.java
@@ -108,7 +108,7 @@ private Consumer<Status> statusChangeListener; // TODO make this configurable - private static final int PROBE_TIMEOUT_MS = 1000; + private static final int PROBE_TIMEOUT_MS = 1500; private Cache<MacAddress, PendingHostLocation> pendingHostsCache = CacheBuilder.newBuilder() .expireAfterWrite(PROBE_TIMEOUT_MS, TimeUnit.MILLISECONDS)