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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user