This commit is contained in:
lzj
2019-03-28 17:12:53 +08:00
committed by hengyunabc
parent c0187e134a
commit 6af9393a02
2 changed files with 2 additions and 2 deletions
@@ -221,7 +221,7 @@ public abstract class ReflectAdviceListenerAdapter implements AdviceListener {
}
/**
* 超过次数上限,则不输出,命令终止
* 超过次数上限,则不输出,命令终止
* @param process the process to be aborted
* @param limit the limit to be printed
*/
@@ -162,7 +162,7 @@ class MonitorAdviceListener extends ReflectAdviceListenerAdapter {
if (monitorData.isEmpty()) {
return;
}
// 超过次数上限,则不输出,命令终止
// 超过次数上限,则不输出,命令终止
if (process.times().getAndIncrement() >= limit) {
this.cancel();
abortProcess(process, limit);