fleetmap-reports 2.0.148 → 2.0.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/speeding-report.js +2 -2
package/package.json
CHANGED
package/src/speeding-report.js
CHANGED
|
@@ -320,7 +320,7 @@ async function getRoadSpeedLimits (devices, routes, threshold, minimumMinutes =
|
|
|
320
320
|
BR: getOSMSpeedingEvents
|
|
321
321
|
}
|
|
322
322
|
const method = config[country] || getHereEvents
|
|
323
|
-
return method(devices, routes, threshold, minimumMinutes, country
|
|
323
|
+
return method(devices, routes, threshold, minimumMinutes, country)
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
exports.getRoadSpeedLimits = getRoadSpeedLimits
|
|
@@ -330,7 +330,7 @@ let countError = 0
|
|
|
330
330
|
let lastSuccessDuration
|
|
331
331
|
async function invokeValhalla (route, i, chunk, country, threshold, results, retry = 3) {
|
|
332
332
|
const slice = route.slice(i, i + chunk)
|
|
333
|
-
const url =
|
|
333
|
+
const url = `http://valhalla-${country}.pinme.io:8002/trace_attributes`
|
|
334
334
|
try {
|
|
335
335
|
const now = new Date()
|
|
336
336
|
const {
|