Skip to content

Commit

Permalink
[RFR-1081] Fix min location count for upload request
Browse files Browse the repository at this point in the history
  • Loading branch information
hb0 committed Jul 16, 2024
1 parent 7e3453b commit e9f9f0f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,11 @@ data class MeasurementMetaData(
private const val MINIMUM_TRACK_LENGTH = 0.0

/**
* The minimum valid amount of locations stored inside a measurement, or else skip the upload.
* The minimum valid amount of locations stored inside a measurement.
*
* This is used on the client-side, so we need to allow < 2 locations to be sent, the server decides skipping.
*/
private const val MINIMUM_LOCATION_COUNT = 2L
private const val MINIMUM_LOCATION_COUNT = 0L
}
}

Expand Down

0 comments on commit e9f9f0f

Please sign in to comment.