Commit 03a0558
committed
Send less initial pings for healthcheck
Previously we would end up sending too many pings to a node to find out
if it's healthy and in the meantime consider it as reachable.
We would send 120 pings, waiting 60 seconds between each ping for the
initial healthcheck. In the meantime, raiden would consider the node
healthy and try to route transfers through it.
Now for that special initial healthcheck we make sure to use a lot less
pings and immediately consider it unhealthy if this does not work.1 parent 7338462 commit 03a0558
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | | - | |
289 | | - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
0 commit comments