mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-03-15 04:17:30 +01:00
Make checkpointInterval an option config option again.
Also applies small fixes Entire-Checkpoint: c11d1a65fae4
This commit is contained in:
@@ -42,7 +42,7 @@ func (b *buffer) stats(from, to int64) (Stats, int64, int64, error) {
|
||||
if b == nil {
|
||||
break
|
||||
}
|
||||
idx = 0
|
||||
idx = int((t - b.start) / b.frequency)
|
||||
}
|
||||
|
||||
if t < b.start || idx >= len(b.data) {
|
||||
|
||||
Reference in New Issue
Block a user