We should probably reset the dropped count each time the connection is
cleared. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6249 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -811,6 +811,7 @@ public class PresentsSession
|
|||||||
long now = System.currentTimeMillis();
|
long now = System.currentTimeMillis();
|
||||||
if (_conn != null && conn == null) {
|
if (_conn != null && conn == null) {
|
||||||
_connectTime += ((now - _networkStamp) / 1000);
|
_connectTime += ((now - _networkStamp) / 1000);
|
||||||
|
_messagesDropped = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// keep a handle to the new connection
|
// keep a handle to the new connection
|
||||||
|
|||||||
Reference in New Issue
Block a user