Skip to content

Commit e5a76d7

Browse files
committed
Increase default timeout from 3s to 10s.
The wait_for_network_idle demo often times out for me. I don't see any reason to have the default so low. More likely to cause user scripts to unnecessarily fail.
1 parent a482d59 commit e5a76d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ const Command = struct {
255255
\\ Defaults to 9222
256256
\\
257257
\\--timeout Inactivity timeout in seconds before disconnecting clients
258-
\\ Defaults to 3 (seconds)
258+
\\ Defaults to 10 (seconds)
259259
\\
260260
++ common_options ++
261261
\\
@@ -342,7 +342,7 @@ fn parseServeArgs(
342342
) !Command.Serve {
343343
var host: []const u8 = "127.0.0.1";
344344
var port: u16 = 9222;
345-
var timeout: u16 = 3;
345+
var timeout: u16 = 10;
346346
var common: Command.Common = .{};
347347

348348
while (args.next()) |opt| {

0 commit comments

Comments
 (0)