client sdk

This commit is contained in:
valenti
2026-10-21 17:56:04 +01:00
parent 1cafe3dd3c
commit d6bc2437c9
237 changed files with 5227 additions and 1019 deletions
+5 -1
View File
@@ -517,7 +517,11 @@ impl BackchannelScheduler {
.copied()
.filter(|&i| !self.recent.contains(&self.clips[i].name))
.collect();
let pool = if unrepeated.is_empty() { pool } else { unrepeated };
let pool = if unrepeated.is_empty() {
pool
} else {
unrepeated
};
Some(pool[(self.rng.next_u64() % pool.len() as u64) as usize])
}