mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
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.
This commit is contained in:
@@ -255,7 +255,7 @@ const Command = struct {
|
|||||||
\\ Defaults to 9222
|
\\ Defaults to 9222
|
||||||
\\
|
\\
|
||||||
\\--timeout Inactivity timeout in seconds before disconnecting clients
|
\\--timeout Inactivity timeout in seconds before disconnecting clients
|
||||||
\\ Defaults to 3 (seconds)
|
\\ Defaults to 10 (seconds)
|
||||||
\\
|
\\
|
||||||
++ common_options ++
|
++ common_options ++
|
||||||
\\
|
\\
|
||||||
@@ -342,7 +342,7 @@ fn parseServeArgs(
|
|||||||
) !Command.Serve {
|
) !Command.Serve {
|
||||||
var host: []const u8 = "127.0.0.1";
|
var host: []const u8 = "127.0.0.1";
|
||||||
var port: u16 = 9222;
|
var port: u16 = 9222;
|
||||||
var timeout: u16 = 3;
|
var timeout: u16 = 10;
|
||||||
var common: Command.Common = .{};
|
var common: Command.Common = .{};
|
||||||
|
|
||||||
while (args.next()) |opt| {
|
while (args.next()) |opt| {
|
||||||
|
|||||||
Reference in New Issue
Block a user