Set statistics measured from real life

This commit is contained in:
9seconds
2026-03-12 19:07:11 +01:00
parent 83ff4ee266
commit 1c0e847247
+6 -2
View File
@@ -11,8 +11,12 @@ const (
StatsLowK = 0.01 StatsLowK = 0.01
StatsHighK = 10.0 StatsHighK = 10.0
StatsDefaultK = 0.6 // do not calculate statistics if we have < than this number of durations
StatsDefaultLambda = 0.002 MinDurationsToCalculate = 100
// these values are taken from ok-cdn. measured from moscow site.
StatsDefaultK = 1.2908978568647322
StatsDefaultLambda = 1.4258402622793287
) )
// Stats is responsible for generating values that are distributed according // Stats is responsible for generating values that are distributed according