Skip to content

Commit 5ed3c74

Browse files
Remove in-country biasing (#104)
1 parent 0153497 commit 5ed3c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heartbeat/location.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func filterSites(service string, lat, lon float64, instances map[string]v2.Heart
9494
s, ok := m[r.Site]
9595
if !ok {
9696
s = &site{
97-
distance: biasedDistance(opts.Country, r, distance),
97+
distance: distance,
9898
registration: *r,
9999
machines: make([]machine, 0),
100100
}

0 commit comments

Comments
 (0)