From 213dce75d13a333b54c66377a92f47a2101a5d8e Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Tue, 3 Mar 2026 12:43:41 -0600 Subject: [PATCH] fix: lower validator cache default to 250K entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the validator key cache was set to 500K entries but the pod OOMs at ~450K — eviction never triggers. indigo uses 5M with LRU+TTL eviction; rsky uses 262K. 250K matches rsky and fits within the 3 GiB pod limit. Co-Authored-By: Claude Opus 4.6 --- src/validator.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validator.zig b/src/validator.zig index d6ad9a7..d81f5a5 100644 --- a/src/validator.zig +++ b/src/validator.zig @@ -63,7 +63,7 @@ pub const Validator = struct { queue_cond: std.Thread.Condition = .{}, resolver_threads: [max_resolver_threads]?std.Thread = .{null} ** max_resolver_threads, alive: std.atomic.Value(bool) = .{ .raw = true }, - max_cache_size: u32 = 500_000, + max_cache_size: u32 = 250_000, const max_resolver_threads = 8; const default_resolver_threads = 4; -- 2.51.2