From 3755d53498edc335b99aae60cf3a4681413b5ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=A5=E9=98=B3?= <457540867@qq.com> Date: Wed, 3 Mar 2021 14:12:57 +0800 Subject: [PATCH] doc: Fix incorrect comment of rollingCounterInSecond in StatisticNode (#2064) --- .../main/java/com/alibaba/csp/sentinel/node/StatisticNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/node/StatisticNode.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/node/StatisticNode.java index 2a7d0a1c..82777a44 100755 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/node/StatisticNode.java +++ b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/node/StatisticNode.java @@ -90,7 +90,7 @@ import com.alibaba.csp.sentinel.util.function.Predicate; public class StatisticNode implements Node { /** - * Holds statistics of the recent {@code INTERVAL} seconds. The {@code INTERVAL} is divided into time spans + * Holds statistics of the recent {@code INTERVAL} milliseconds. The {@code INTERVAL} is divided into time spans * by given {@code sampleCount}. */ private transient volatile Metric rollingCounterInSecond = new ArrayMetric(SampleCountProperty.SAMPLE_COUNT,