mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-25 23:39:22 -05:00
Fix "have been the once" in bucket_entry.rs
This fixes a wordo (once for one) in bucket_entry.rs.
This commit is contained in:
parent
bd4b4233bf
commit
6883607ff8
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user