commit | 5a5ed59f6e72b5b6e63ab37fa340b03bb5a09143 | [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 22:14:06 2017 +0000 |
tree | 6f707e256d5e9325287a499296c360df0dca938e | |
parent | 5cc08ced2f5118134d1adb84b7187dad5021cc72 [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 (cherry picked from commit e6c80cd290b5b4a3e078394afff1e4bea9cdaa98)
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;