mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-07-21 22:40:37 +02:00
change resampling policy points
This commit is contained in:
@@ -183,12 +183,12 @@ func Init(mainConfig json.RawMessage) {
|
|||||||
func targetPointsForPolicy(policy string) int {
|
func targetPointsForPolicy(policy string) int {
|
||||||
switch policy {
|
switch policy {
|
||||||
case "low":
|
case "low":
|
||||||
return 200
|
return 300
|
||||||
case "medium":
|
case "medium":
|
||||||
return 500
|
return 600
|
||||||
case "high":
|
case "high":
|
||||||
return 1000
|
return 1000
|
||||||
default:
|
default:
|
||||||
return 500
|
return 600
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user