fleetmap-reports 2.0.336 → 2.0.337
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/sensor-report.js +1 -1
package/package.json
CHANGED
package/src/sensor-report.js
CHANGED
|
@@ -51,7 +51,7 @@ function computeSensorPeriods (positions, sensors, d, userData) {
|
|
|
51
51
|
const result = {}
|
|
52
52
|
const minOn = (userData.minimumMinutesOn || 0) * 60 * 1000
|
|
53
53
|
const minOff = (userData.minimumMinutesOff || 0) * 60 * 1000
|
|
54
|
-
const maxDistanceBetweenPositions =
|
|
54
|
+
const maxDistanceBetweenPositions = 30 * 60 * 1000
|
|
55
55
|
|
|
56
56
|
const minThreshold = (value) => (value ? minOn : minOff)
|
|
57
57
|
|