mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Public Dashboards: use intervalMs and maxDataPoints from request (#53613)
This commit is contained in:
committed by
GitHub
parent
fcea9ac913
commit
722aca5c53
@@ -213,7 +213,7 @@ func roundInterval(interval time.Duration) time.Duration {
|
||||
// 12.5m
|
||||
case interval <= 750000*time.Millisecond:
|
||||
return time.Millisecond * 600000 // 10m
|
||||
// 12.5m
|
||||
// 17.5m
|
||||
case interval <= 1050000*time.Millisecond:
|
||||
return time.Millisecond * 900000 // 15m
|
||||
// 25m
|
||||
|
||||
Reference in New Issue
Block a user