proxmox-backup/src/rrd
Stefan Reiter da6e67b321 rrd: fix integer underflow
Causes a panic if last_update is smaller than RRD_DATA_ENTRIES*reso,
which (I believe) can happen when inserting the first value for a DB.

Clamp the value to 0 in that case.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2020-10-01 14:30:32 +02:00
..
cache.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
mod.rs add simple rrd implementation 2020-05-23 10:42:48 +02:00
rrd.rs rrd: fix integer underflow 2020-10-01 14:30:32 +02:00