Make the ping debugging optional since dev seems not to be failing now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5602 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -69,8 +69,7 @@ public class ServerCommunicator extends Communicator
|
||||
// outgoing traffic on this connection is used to prevent idleness
|
||||
// TODO: shouldn't PongResponse handle this?
|
||||
_lastEvent = System.currentTimeMillis();
|
||||
// TEMP: debug
|
||||
if (msg instanceof PingRequest) {
|
||||
if (PING_DEBUG && msg instanceof PingRequest) { // TEMP
|
||||
log.info("Pinging on server comm " + msg);
|
||||
}
|
||||
}
|
||||
@@ -205,4 +204,7 @@ public class ServerCommunicator extends Communicator
|
||||
protected ClientDObjectMgr _omgr;
|
||||
protected ClassLoader _loader;
|
||||
protected Exception _logonError;
|
||||
|
||||
// TEMP
|
||||
protected static final boolean PING_DEBUG = Boolean.getBoolean("ping_debug");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user