Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase distance filter location update #483

Merged
merged 1 commit into from
Jun 6, 2023
Merged

Conversation

mltbnz
Copy link
Member

@mltbnz mltbnz commented Jun 6, 2023

馃摬 What

Update Location Features distanceFilter to only publish a new location if users have moved 200 metres

馃 Why

To reduce sending locations too often.
For a ride of 20km it means:
20.000 / 200 = 100 updates for a user per ride

There is some uncertainty around gps position since it might jump a bit where there maybe a timer would be the better option.

@mltbnz mltbnz requested a review from a team as a code owner June 6, 2023 09:58
@mltbnz mltbnz merged commit 78265dd into main Jun 6, 2023
1 check passed
@mltbnz mltbnz deleted the update-distance-filter branch June 6, 2023 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant