commit | e6c80cd290b5b4a3e078394afff1e4bea9cdaa98 | [log] [tgz] |
---|---|---|
author | Jordan Halterman <jordan@opennetworking.org> | Tue Sep 12 15:09:03 2017 -0700 |
committer | Ray Milkey <ray@opennetworking.org> | Wed Sep 13 21:57:29 2017 +0000 |
tree | 7fbf6fc0c4eea673d012f2bb1949def677883a86 | |
parent | f5295f6d119d84e4c64a5a3ca4841b5b4da26526 [diff] |
Set minimum Netty response timeout to 250 milliseconds to account for differences in response times based on consistency in the Raft protocol Change-Id: I1a9a6e004a1fddb307d3d5ef27b428c233e2062f
diff --git a/core/store/dist/src/main/java/org/onosproject/store/cluster/messaging/impl/NettyMessagingManager.java b/core/store/dist/src/main/java/org/onosproject/store/cluster/messaging/impl/NettyMessagingManager.java index 9a90999..b7e121b 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/cluster/messaging/impl/NettyMessagingManager.java +++ b/core/store/dist/src/main/java/org/onosproject/store/cluster/messaging/impl/NettyMessagingManager.java
@@ -105,7 +105,7 @@ public class NettyMessagingManager implements MessagingService { private static final long DEFAULT_TIMEOUT_MILLIS = 500; private static final long HISTORY_EXPIRE_MILLIS = Duration.ofMinutes(1).toMillis(); - private static final long MIN_TIMEOUT_MILLIS = 100; + private static final long MIN_TIMEOUT_MILLIS = 250; private static final long MAX_TIMEOUT_MILLIS = 5000; private static final long TIMEOUT_INTERVAL = 50; private static final int WINDOW_SIZE = 100;