Aaron Kruglikov
Committed by Gerrit Code Review

Changing timeout to fix lxc node down issue.

Change-Id: I585d2fd56d6b1752d4a2f5a2e4a99003ccfdc3f0
...@@ -312,6 +312,7 @@ public class NettyMessaging implements MessagingService { ...@@ -312,6 +312,7 @@ public class NettyMessaging implements MessagingService {
312 bootstrap.option(ChannelOption.WRITE_BUFFER_HIGH_WATER_MARK, 10 * 64 * 1024); 312 bootstrap.option(ChannelOption.WRITE_BUFFER_HIGH_WATER_MARK, 10 * 64 * 1024);
313 bootstrap.option(ChannelOption.WRITE_BUFFER_LOW_WATER_MARK, 10 * 32 * 1024); 313 bootstrap.option(ChannelOption.WRITE_BUFFER_LOW_WATER_MARK, 10 * 32 * 1024);
314 bootstrap.option(ChannelOption.SO_SNDBUF, 1048576); 314 bootstrap.option(ChannelOption.SO_SNDBUF, 1048576);
315 + bootstrap.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 1000);
315 bootstrap.group(clientGroup); 316 bootstrap.group(clientGroup);
316 // TODO: Make this faster: 317 // TODO: Make this faster:
317 // http://normanmaurer.me/presentations/2014-facebook-eng-netty/slides.html#37.0 318 // http://normanmaurer.me/presentations/2014-facebook-eng-netty/slides.html#37.0
......