aboutsummaryrefslogtreecommitdiffstats
path: root/src/access/bans.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-01 03:48:46 +0000
committertv <tv@krebsco.de>2026-12-01 04:54:24 +0000
commit2d72ed5272f1be73b11bc4af5073385d6f905e0c (patch)
tree687f59d30cb9e2cb6e7438155433c750ee94cded /src/access/bans.rs
parentb6743899468db6304173aca4c7b32d05ea8d92c9 (diff)
transport: the path probe wakes when a path is due, not every five seconds
The task that pings paths looked every five seconds for paths due. It now sleeps until the next is: a PING out long enough to count as unanswered, a path in use rested, one unused for long to forget; no more often than every five seconds, so paths due close together go together. What changes when the next is due (a path coming into use, a PING sent with a keepalive or to a suspect path, one that failed) has it look that up anew. With no path, it waits for one.
Diffstat (limited to 'src/access/bans.rs')
0 files changed, 0 insertions, 0 deletions