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