doc: Fix incorrect comment of rollingCounterInSecond in StatisticNode (#2064)

This commit is contained in:
张春阳 2021-03-03 14:12:57 +08:00 committed by GitHub
parent 16990a8595
commit 3755d53498
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,