Don't report the first time, just set our next report stamp.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3470 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2005-04-12 17:46:14 +00:00
parent 25b84d1ed6
commit d1a19cc346
@@ -240,8 +240,10 @@ public class PresentsDObjectMgr
// report and reset our largest queue size once per minute
long startMillis = start * 1000 / freq;
if (_nextQueueReport < startMillis) {
Log.info("Max dobj queue size " + _maxQueueSize);
_maxQueueSize = queueSize;
if (_nextQueueReport != 0L) {
Log.info("Max dobj queue size " + _maxQueueSize);
_maxQueueSize = queueSize;
}
_nextQueueReport = startMillis + 60 * 1000L;
}
}