server: add ddos protection

This commit is contained in:
nym21
2025-06-08 17:06:36 +02:00
parent e6934cd5e2
commit 5a6b71cbeb
16 changed files with 85 additions and 12 deletions

View File

@@ -1298,6 +1298,11 @@ where
fn index_type_to_string(&self) -> String {
I::to_string()
}
#[inline]
fn value_type_to_size_of(&self) -> usize {
size_of::<T>()
}
}
impl<I, T> AnyIterableVec<I, T> for EagerVec<I, T>