fleetmap-reports 2.0.242 → 2.0.243
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/zone-report.js +1 -1
package/package.json
CHANGED
package/src/zone-report.js
CHANGED
|
@@ -107,7 +107,7 @@ async function createZoneReport (from, to, userData, traccar) {
|
|
|
107
107
|
|
|
108
108
|
const url = 'https://rntba7aqifqx3iywrenb7pq6km0liwsr.lambda-url.us-east-1.on.aws/pinmeapi/process-report/zone-report-processing'
|
|
109
109
|
|
|
110
|
-
const limit = simpleLimit(
|
|
110
|
+
const limit = simpleLimit(100)
|
|
111
111
|
const promises = sliced.map((slice, i) => limit(async () => {
|
|
112
112
|
const now = new Date()
|
|
113
113
|
return traccar.axios.post(url, {
|