Decreased ack timeout. Takes too long when many messages get lost (e.g. when 100 nodes leave at the same time)

This commit is contained in:
senft-desktop 2012-11-29 18:22:31 +01:00
parent ccc4d2590d
commit d820dc1bd8

View File

@ -11,7 +11,7 @@ public class Ack {
private final static Logger LOGGER = Logger.getLogger(Ack.class.getName());
// timeout in seconds
private final int TIMEOUT = 5000;
private final int TIMEOUT = 1000;
private int id;
private SocketAddress address;