summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-08-13 10:27:37 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2017-08-13 10:27:37 -0600
commit68cabae57238dcb26b16f81afd5179e65b126b13 (patch)
tree3445956e8f253bb54705abfa6595fdc0f4c1d773
parentbbe902748429cf52d8d260bd45f6555a14ba9d4b (diff)
RrdQueryRemote: correctly handle caching with timespans around epoch
-rw-r--r--jarmon/jarmon.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js
index 9176719..e3b9768 100644
--- a/jarmon/jarmon.js
+++ b/jarmon/jarmon.js
@@ -317,7 +317,7 @@ jarmon.RrdQueryRemote = function(url, unit, downloader) {
this.downloader = downloader;
}
- this.lastUpdate = 0;
+ this.lastUpdate = -Infinity;
this._download = null;
};