]> git.itanic.dy.fi Git - rrdd/commit
rrdtool: Read last update timestamp from database on startup
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Wed, 30 Sep 2020 17:44:37 +0000 (20:44 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Wed, 30 Sep 2020 17:44:37 +0000 (20:44 +0300)
commit930f125fe8f173527b8ff387b8adea5c6a0f1d88
treedbd9c0ff7e4b1ab5fba5768acd911269333367ea
parent9d369a19b0fa72095ddeccf7dff6e2418043baed
rrdtool: Read last update timestamp from database on startup

Instead of just re-updating all possible databases instantly on the
startup, read the last update timestamp from the database and do the
update with normal schedule.

This is useful if we just happen to restart the daemon and the last
update happened just a moment ago.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
rrdtool.c