mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
fix tt command cost less than 0. #746
This commit is contained in:
-3
@@ -57,9 +57,6 @@ public class TimeTunnelAdviceListener extends ReflectAdviceListenerAdapter {
|
||||
double cost = threadLocalWatch.costInMillis();
|
||||
TimeFragment timeTunnel = new TimeFragment(advice, new Date(), cost);
|
||||
|
||||
// reset the timestamp
|
||||
threadLocalWatch.clear();
|
||||
|
||||
boolean match = false;
|
||||
try {
|
||||
match = isConditionMet(command.getConditionExpress(), advice, cost);
|
||||
|
||||
Reference in New Issue
Block a user