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:
parent
ccc4d2590d
commit
d820dc1bd8
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user