fleetmap-reports 1.0.282 → 1.0.283
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 +1 -1
package/package.json
CHANGED
package/src/speeding-report.js
CHANGED
|
@@ -237,7 +237,7 @@ async function getCustomSpeedLimitEvents(devices, routes){
|
|
|
237
237
|
async function getHereEvents(devices, routes, threshold){
|
|
238
238
|
console.log('here speed limit events')
|
|
239
239
|
const events = []
|
|
240
|
-
let i,j, temporary, chunk =
|
|
240
|
+
let i,j, temporary, chunk = 5;
|
|
241
241
|
for (i = 0,j = devices.length; i < j; i += chunk) {
|
|
242
242
|
temporary = devices.slice(i, i + chunk);
|
|
243
243
|
await Promise.all(temporary.map(d =>
|