proxmox-rrd: fix update (do not update) when time is in the past
This commit is contained in:
parent
f66d66aafe
commit
18e8bc17e4
@ -131,6 +131,7 @@ impl RRA {
|
||||
|
||||
if time <= self.last_update {
|
||||
eprintln!("rrdb update failed - time in past ({} < {})", time, self.last_update);
|
||||
return;
|
||||
}
|
||||
|
||||
if value.is_nan() {
|
||||
|
Loading…
Reference in New Issue
Block a user