mirror of
https://github.com/ClusterCockpit/cc-metric-store.git
synced 2025-07-22 04:41:40 +02:00
Fix to Avro features
This commit is contained in:
@@ -137,7 +137,7 @@ func getTimestamp(dir string) int64 {
|
||||
}
|
||||
|
||||
interval, _ := time.ParseDuration(config.Keys.Checkpoints.Interval)
|
||||
updateTime := time.Now().Add(-interval).Unix()
|
||||
updateTime := time.Now().Add(-interval - time.Duration(CheckpointBufferMinutes) + 1).Unix()
|
||||
|
||||
if maxTs < updateTime {
|
||||
return 0
|
||||
|
Reference in New Issue
Block a user