Closed (won't fix)
Project:
RRDtool
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 May 2010 at 05:02 UTC
Updated:
8 Jun 2010 at 14:34 UTC
Images are recreated every time a graph page is viewed, even if the image was just created moments ago. We should stat the file and only recreate the image if it's older than n minutes (where n could be configurable, or dependent on the duration of time tracked in the graph).
Comments
Comment #1
killes@www.drop.org commentedI don't think it is too costly to simply create a new file. Searching for preexisting files would either require to scan the directory or to introduce a db table (or to reuse the existing core tables).
Comment #2
killes@www.drop.org commentedConsidering that we now purge old images, I am marking this "won't fix".