Skip to content

Commit 4bcf52a

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 c80deeb commit 4bcf52a

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
@@ -198,7 +198,7 @@ const Command = struct {
198198
\\ Defaults to 9222
199199
\\
200200
\\--timeout Inactivity timeout in seconds before disconnecting clients
201-
\\ Defaults to 3 (seconds)
201+
\\ Defaults to 10 (seconds)
202202
\\
203203
\\--insecure_disable_tls_host_verification
204204
\\ Disables host verification on all HTTP requests.
@@ -292,7 +292,7 @@ fn parseServeArgs(
292292
) !Command.Serve {
293293
var host: []const u8 = "127.0.0.1";
294294
var port: u16 = 9222;
295-
var timeout: u16 = 3;
295+
var timeout: u16 = 10;
296296
var tls_verify_host = true;
297297
var http_proxy: ?std.Uri = null;
298298

0 commit comments

Comments
 (0)