Sfoglia il codice sorgente

Update stats defaults

tags/v2.2.0^2^2
9seconds 1 mese fa
parent
commit
ea71fe81b2
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3
    3
      mtglib/internal/doppel/stats.go

+ 3
- 3
mtglib/internal/doppel/stats.go Vedi File

@@ -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…
Annulla
Salva