diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-02-16 21:28:02 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-02-16 21:28:02 +0100 |
commit | 84b52e8df51fd30b122d7b3542f569c0c7f4c183 (patch) | |
tree | 94d876274faedd0e93f15dcacc47be30facdc870 /src | |
parent | 63ed57a21099e72ad4662c85132cec647e1ee7c3 (diff) |
Update out of date comment
Diffstat (limited to 'src')
-rw-r--r-- | src/server/lib/getMeetingpointData.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/lib/getMeetingpointData.js b/src/server/lib/getMeetingpointData.js index 1687a6a..69d518f 100644 --- a/src/server/lib/getMeetingpointData.js +++ b/src/server/lib/getMeetingpointData.js @@ -97,7 +97,7 @@ function requestData() { } function getMeetingpointData() { - if (lastUpdate == null || new Date() - lastUpdate > 30 * 60 * 1000) { // 10 minutes + if (lastUpdate == null || new Date() - lastUpdate > 30 * 60 * 1000) { // 30 minutes return requestData(); } else if (!meetingpointData) { return Promise.reject(); |