TCP: Change the default connect timeout to 2s, closes #1104.

This commit is contained in:
kimchy 2011-07-08 08:36:47 +03:00
parent 893c7df966
commit 61ad8b614a
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public class NetworkService extends AbstractComponent {
public static final ByteSizeValue TCP_DEFAULT_SEND_BUFFER_SIZE = new ByteSizeValue(32, ByteSizeUnit.KB);
public static final ByteSizeValue TCP_DEFAULT_RECEIVE_BUFFER_SIZE = new ByteSizeValue(32, ByteSizeUnit.KB);
public static final TimeValue TCP_DEFAULT_CONNECT_TIMEOUT = new TimeValue(30, TimeUnit.SECONDS);
public static final TimeValue TCP_DEFAULT_CONNECT_TIMEOUT = new TimeValue(2, TimeUnit.SECONDS);
}
/**