From bbcc2f795d23d891dbbcd84f48773ea9be07fb63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Arrufat?= Date: Sun, 23 Aug 2026 17:13:00 +0200 Subject: [PATCH] config: support embed mode in http nav delay and burst --- src/Config.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Config.zig b/src/Config.zig index fd14f7554..537491711 100644 --- a/src/Config.zig +++ b/src/Config.zig @@ -586,7 +586,7 @@ pub fn httpMaxHostOpen(self: *const Config) u8 { pub fn httpNavDelay(self: *const Config) ?u32 { const ms = switch (self.mode) { - inline .serve, .fetch, .mcp, .agent => |opts| opts.http_nav_delay, + inline .serve, .fetch, .mcp, .agent, .embed => |opts| opts.http_nav_delay, else => unreachable, } orelse return null; return if (ms == 0) null else ms; @@ -594,7 +594,7 @@ pub fn httpNavDelay(self: *const Config) ?u32 { pub fn httpNavBurst(self: *const Config) u32 { const burst = switch (self.mode) { - inline .serve, .fetch, .mcp, .agent => |opts| opts.http_nav_burst, + inline .serve, .fetch, .mcp, .agent, .embed => |opts| opts.http_nav_burst, else => unreachable, } orelse 1; return @max(burst, 1);