fix: cache calculation

This commit is contained in:
2026-04-15 17:31:39 +08:00
parent 365ceac3be
commit ff316c6873
23 changed files with 500 additions and 336 deletions

View File

@@ -13,7 +13,9 @@ pub struct RandomRouter {
impl RandomRouter {
pub fn new(seed: u64) -> Self {
Self { rng: ChaCha8Rng::seed_from_u64(seed) }
Self {
rng: ChaCha8Rng::seed_from_u64(seed),
}
}
}