aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/types.db
diff options
context:
space:
mode:
authorPeter Wu2014-08-02 12:51:57 +0200
committerPim van den Berg2014-11-14 00:09:51 +0100
commitb75430280f5bfc61b5c7d4576cda1b2608aa4422 (patch)
tree08535232792e9ab49cee73f1b52bc555a484c94b /inc/types.db
parentjsrrdgraph: Fix undefined value issue in RrdDataFile (diff)
downloadapt-panopticon_cgp-b75430280f5bfc61b5c7d4576cda1b2608aa4422.zip
apt-panopticon_cgp-b75430280f5bfc61b5c7d4576cda1b2608aa4422.tar.gz
apt-panopticon_cgp-b75430280f5bfc61b5c7d4576cda1b2608aa4422.tar.bz2
apt-panopticon_cgp-b75430280f5bfc61b5c7d4576cda1b2608aa4422.tar.xz
jsrrdgraph: Improve performance for graphs in the future
The RRD file has finer details for more recent data points. When looking for a match for a graph past the last update ("the future"), a RRA would be picked which has a step size of 1. As we know that no data points are available, optimise this and return earlier with the full range set to NaN.
Diffstat (limited to 'inc/types.db')
0 files changed, 0 insertions, 0 deletions