Skip to content
Snippets Groups Projects
Commit b33b4b6f authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Fix: Use value of the first entry instead of the current time. (Redmine issue: #7600)

parent c3c44bcf
No related branches found
No related tags found
No related merge requests found
......@@ -608,7 +608,7 @@ class RrdStats:
if not tst:
tst = int(time.time())
(rrddb, flag_new) = self.prepare_db(ds_id)
(rrddb, flag_new) = self.prepare_db(ds_id, tst - (tst % self.step))
try:
rrdtool.update(
......
  • Pavel Kácha @ph

    mentioned in issue #7600 (closed)

    By Rajmund Hruška on 2024-12-26T14:26:24

    · Imported

    mentioned in issue #7600 (closed)

    By Rajmund Hruška on 2024-12-26T14:26:24

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment