If PERF_TRACK was set to false, start was never initialized, so compilation
would fail. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2757 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -205,6 +205,8 @@ public class Invoker extends LoopingThread
|
||||
start = System.currentTimeMillis();
|
||||
// record the time spent on the queue as a special unit
|
||||
recordMetrics("queue_wait_time", start - unit.queueStamp);
|
||||
} else {
|
||||
start = 0L;
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user