mirror of
https://github.com/telemt/telemt.git
synced 2026-04-20 03:54:09 +03:00
Dashmap-driven Routing + Health Parallel + Family Runtime State
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
This commit is contained in:
@@ -244,10 +244,9 @@ fn order_profiles(
|
||||
if let Some(pos) = ordered
|
||||
.iter()
|
||||
.position(|profile| *profile == cached.profile)
|
||||
&& pos != 0
|
||||
{
|
||||
if pos != 0 {
|
||||
ordered.swap(0, pos);
|
||||
}
|
||||
ordered.swap(0, pos);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user