We need the current timestamp to report proper idle duration.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6386 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2010-12-16 02:22:21 +00:00
parent 74c2c77443
commit 884ffabddc
@@ -152,7 +152,7 @@ public abstract class Connection implements NetEventHandler
}
if (!isClosed()) {
log.info("Disconnecting non-communicative client",
"conn", this, "idle", (idleStamp - _lastEvent) + "ms");
"conn", this, "idle", (System.currentTimeMillis() - _lastEvent) + "ms");
}
return true;
}