Skip to content

Commit

Permalink
tune down the slightly aggressive update to default apache http timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
qiangdavidliu committed Oct 3, 2017
1 parent 740409e commit 5125788
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public int getWaitTimeInMsWhenSyncEmpty() {
@Override
public int getPeerNodeConnectTimeoutMs() {
return configInstance.getIntProperty(
namespace + "peerNodeConnectTimeoutMs", 2000).get();
namespace + "peerNodeConnectTimeoutMs", 1000).get();
}

@Override
Expand Down Expand Up @@ -431,13 +431,13 @@ public boolean shouldDisableDeltaForRemoteRegions() {
@Override
public int getRemoteRegionConnectTimeoutMs() {
return configInstance.getIntProperty(
namespace + "remoteRegionConnectTimeoutMs", 5000).get();
namespace + "remoteRegionConnectTimeoutMs", 2000).get();
}

@Override
public int getRemoteRegionReadTimeoutMs() {
return configInstance.getIntProperty(
namespace + "remoteRegionReadTimeoutMs", 10000).get();
namespace + "remoteRegionReadTimeoutMs", 5000).get();
}

@Override
Expand Down

0 comments on commit 5125788

Please sign in to comment.