瀏覽代碼

Update stats defaults

tags/v2.2.0^2^2
9seconds 1 月之前
父節點
當前提交
ea71fe81b2
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      mtglib/internal/doppel/stats.go

+ 3
- 3
mtglib/internal/doppel/stats.go 查看文件

@@ -14,9 +14,9 @@ const (
14 14
 	// do not calculate statistics if we have < than this number of durations
15 15
 	MinDurationsToCalculate = 100
16 16
 
17
-	// these values are taken from ok-cdn. measured from moscow site.
18
-	StatsDefaultK      = 1.2908978568647322
19
-	StatsDefaultLambda = 1.4258402622793287
17
+	// these values are taken from ok.ru. measured from moscow site.
18
+	StatsDefaultK      = 0.37846373895785335
19
+	StatsDefaultLambda = 1.73177086015485
20 20
 )
21 21
 
22 22
 // Stats is responsible for generating values that are distributed according

Loading…
取消
儲存