Merge branch 'onceTypo2023-09-28' into 'main'

Fix "have been the once" in bucket_entry.rs

See merge request veilid/veilid!207
This commit is contained in:
Christien Rioux 2023-09-29 19:55:05 +00:00
commit 0120b99ae0

View File

@ -298,7 +298,7 @@ impl BucketEntryInner {
// If we're updating an entry's node info, purge all // If we're updating an entry's node info, purge all
// but the last connection in our last connections list // but the last connection in our last connections list
// because the dial info could have changed and it's safer to just reconnect. // because the dial info could have changed and it's safer to just reconnect.
// The latest connection would have been the once we got the new node info // The latest connection would have been the one we got the new node info
// over so that connection is still valid. // over so that connection is still valid.
if node_info_changed { if node_info_changed {
self.clear_last_connections_except_latest(); self.clear_last_connections_except_latest();