~ Once we've been connected long enough, we reset our backoff reconnection * timer (if we're going to retry). */
| 267 | /*~ Once we've been connected long enough, we reset our backoff reconnection |
| 268 | * timer (if we're going to retry). */ |
| 269 | static void reset_reconnect_timer(struct peer *peer) |
| 270 | { |
| 271 | struct important_id *imp; |
| 272 | |
| 273 | imp = important_id_htable_get(peer->daemon->important_ids, &peer->id); |
| 274 | if (imp) |
| 275 | imp->reconnect_secs = INITIAL_WAIT_SECONDS; |
| 276 | } |
| 277 | |
| 278 | void send_disconnected(struct daemon *daemon, |
| 279 | const struct node_id *id, |
nothing calls this directly
no outgoing calls
no test coverage detected