diff --git a/constants/constants.go b/constants/constants.go index 50ca468..133d61f 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -86,18 +86,18 @@ func UpdateWindowSize(new_window_size int) bool { } } -// Time duration between successive cluster wide capping. -var Clusterwide_cap_interval = 10.0 // Right now capping the cluster at 10 second intervals. - -// Modify the cluster wide capping interval. We can update the interval depending on the workload. -// TODO: If the workload is heavy then we can set a longer interval, while on the other hand, -// if the workload is light then a smaller interval is sufficient. -func UpdateClusterwideCapInterval(new_interval float64) bool { - // Validation - if new_interval == 0.0 { - return false - } else { - Clusterwide_cap_interval = new_interval - return true - } -} +// // Time duration between successive cluster wide capping. +// var Clusterwide_cap_interval = 10 // Right now capping the cluster at 10 second intervals. +// +// // Modify the cluster wide capping interval. We can update the interval depending on the workload. +// // TODO: If the workload is heavy then we can set a longer interval, while on the other hand, +// // if the workload is light then a smaller interval is sufficient. +// func UpdateClusterwideCapInterval(new_interval int) bool { +// // Validation +// if new_interval == 0.0 { +// return false +// } else { +// Clusterwide_cap_interval = new_interval +// return true +// } +// }