Merge pull request #1927 from lightpanda-io/feat/fetch-wait-options

Feat/fetch wait options
This commit is contained in:
Karl Seguin
2026-03-21 07:18:59 +08:00
committed by GitHub
10 changed files with 91 additions and 31 deletions

View File

@@ -124,7 +124,8 @@ fn run(allocator: Allocator, main_arena: Allocator) !void {
log.debug(.app, "startup", .{ .mode = "fetch", .dump_mode = opts.dump_mode, .url = url, .snapshot = app.snapshot.fromEmbedded() });
var fetch_opts = lp.FetchOpts{
.wait_ms = 5000,
.wait_ms = opts.wait_ms,
.wait_until = opts.wait_until,
.dump_mode = opts.dump_mode,
.dump = .{
.strip = opts.strip,