Commit 0ed7213
committed
beacon: prober tracks membership by lastChecked (decouple from uptime)
sweepTargets now selects relays by lastChecked-exists (probed before) rather
than checksOnline>=1, so the uptime counters can be reset without losing the
probe rotation, and offline-but-known relays stay in rotation (can recover).
New harvested candidates (never probed) still excluded.
Enables resetting the degraded-sweep-corrupted counters across the whole
tracked set. npm test 73/73.
Closes #351 parent ff4113b commit 0ed7213
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
168 | 172 | | |
169 | | - | |
170 | | - | |
| 173 | + | |
| 174 | + | |
171 | 175 | | |
172 | | - | |
| 176 | + | |
173 | 177 | | |
174 | 178 | | |
175 | 179 | | |
| |||
0 commit comments