Latency reduction all over:

- SSU: Reduce ack delay
- Streaming: Reduce min RTO and flusher delay
- Tunnels: Reduce GW batching time
This commit is contained in:
zzz
2015-01-05 13:19:34 +00:00
parent d7895a456a
commit 045f6dccf8
5 changed files with 10 additions and 6 deletions

View File

@ -85,7 +85,7 @@ class Connection {
private long _lifetimeDupMessageReceived;
public static final long MAX_RESEND_DELAY = 45*1000;
public static final long MIN_RESEND_DELAY = 2*1000;
public static final long MIN_RESEND_DELAY = 1000;
/**
* Wait up to 5 minutes after disconnection so we can ack/close packets.

View File

@ -50,7 +50,7 @@ class MessageOutputStream extends OutputStream {
* Since this is less than i2ptunnel's i2p.streaming.connectDelay default of 1000,
* we only wait 250 at the start. Guess that's ok, 1000 is too long anyway.
*/
private static final int DEFAULT_PASSIVE_FLUSH_DELAY = 250;
private static final int DEFAULT_PASSIVE_FLUSH_DELAY = 175;
/****
public MessageOutputStream(I2PAppContext ctx, DataReceiver receiver) {