Skip to content

Commit

Permalink
reduce bad_sync false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Sep 22, 2020
1 parent f45410b commit a88e67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlat/server/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def _really_write_state(self):
if state[3] > 0:
continue
num_peers += 1
if state[1] > 1.5:
if (state[0] > 5 and state[1] > 1.5) or state[1] > 4:
bad_peers += 1

# If your sync with 5 receivers or more than 10 percent of peers is bad,
Expand Down

0 comments on commit a88e67f

Please sign in to comment.