netbird/relay
Zoltan Papp 0eb99c266a
Fix unused servers cleanup (#2826)
The cleanup loop did not manage those situations well when a connection failed or 
the connection success but the code did not add a peer connection to it yet.

- in the cleanup loop check if a connection failed to a server
- after adding a foreign server connection force to keep it a minimum 5 sec
2024-11-01 12:33:29 +01:00
..
auth [relay] Improve relay messages (#2574) 2024-09-11 16:20:30 +02:00
client Fix unused servers cleanup (#2826) 2024-11-01 12:33:29 +01:00
cmd [management] Add command flag to set metrics port for signal and relay service, and update management port (#2599) 2024-09-14 10:34:32 +02:00
healthcheck [relay] Add health check attempt threshold (#2609) 2024-09-17 10:04:17 +02:00
messages [relay] Improve relay messages (#2574) 2024-09-11 16:20:30 +02:00
metrics [relay-server] Move the handshake logic to separated struct (#2648) 2024-10-12 18:21:34 +02:00
server [relay-server] Move the handshake logic to separated struct (#2648) 2024-10-12 18:21:34 +02:00
test [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
testec2 [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
doc.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
Dockerfile [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
main.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00