Merge branch 'master' of https://github.com/Cryptkeeper/Minetrack into uplot

This commit is contained in:
Nick Krecklow
2020-05-14 20:50:51 -05:00
9 changed files with 97 additions and 76 deletions

View File

@ -18,7 +18,7 @@ class Database {
loadGraphPoints (graphDuration, callback) {
// Query recent pings
const endTime = new Date().getTime()
const endTime = TimeTracker.getEpochMillis()
const startTime = endTime - graphDuration
this.getRecentPings(startTime, endTime, pingData => {