2005-12-22 jrandom

* Cleaned up some buffer synchronization issues in I2PSnark that could
       cause blockage.
This commit is contained in:
jrandom
2005-12-22 10:04:12 +00:00
committed by zzz
parent 98277d3b64
commit 148dd99c86
8 changed files with 31 additions and 17 deletions

View File

@@ -208,8 +208,8 @@ class PeerConnectionOut implements Runnable
}
}
/** remove messages not sent in 2m */
private static final int SEND_TIMEOUT = 120*1000;
/** remove messages not sent in 3m */
private static final int SEND_TIMEOUT = 3*60*1000;
private class RemoveTooSlow implements SimpleTimer.TimedEvent {
private Message _m;
public RemoveTooSlow(Message m) {