diff --git a/constants/constants.go b/constants/constants.go index 08ad28a..bcd051b 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -68,7 +68,7 @@ func UpdateCapMargin(newCapMargin float64) bool { var StarvationFactor = PowerThreshold / CapMargin // Window size for running average -var WindowSize = 160 +var WindowSize = 20 // Update the window size. func UpdateWindowSize(newWindowSize int) bool {