瀏覽代碼

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

master
张春阳 GitHub 3 年之前
父節點
當前提交
3755d53498
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      sentinel-core/src/main/java/com/alibaba/csp/sentinel/node/StatisticNode.java

+ 1
- 1
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,


Loading…
取消
儲存