server: every dns listener shares one budget of 32 queries, stream listeners take 16 connections, the task pool is capped from those bounds, and work it cannot start is counted by site

This commit is contained in:
2026-10-22 15:24:10 +02:00
parent e4e405f8e9
commit 63cc5f8dc3
23 changed files with 983 additions and 324 deletions
+1 -1
View File
@@ -468,7 +468,7 @@ pub const Handler = struct {
}
};
/// Per-query working memory, owned by the listener's slot so that no query path
/// Per-query working memory, owned by the query's permit (`query_budget.Work`) so that no query path
/// allocates. Every buffer is used by one query at a time.
pub const Scratch = struct {
normalize: [types.max_name_len]u8,