Fix param args missing bug in fireExit of StatisticSlot (#2523)

This commit is contained in:
howiekang 2022-01-05 11:51:21 +08:00 committed by GitHub
parent 356111f745
commit 6f555d7c96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -148,7 +148,8 @@ public class StatisticSlot extends AbstractLinkedProcessorSlot<DefaultNode> {
handler.onExit(context, resourceWrapper, count, args);
}
fireExit(context, resourceWrapper, count);
// fix bug https://github.com/alibaba/Sentinel/issues/2374
fireExit(context, resourceWrapper, count, args);
}
private void recordCompleteFor(Node node, int batchCount, long rt, Throwable error) {