diff options
Diffstat (limited to 'src/server')
-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(); |