Skip to content

Commit

Permalink
fix: update flags.rs (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyannyacha committed May 21, 2024
1 parent f4e9e78 commit 3a38efb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/cli/src/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,17 @@ fn get_start_command() -> Command {
.arg(
arg!(--"request-wait-timeout" <MILLISECONDS>)
.help("Maximum time in milliseconds that can wait to establish a connection with a worker")
.default_value("10000")
.value_parser(value_parser!(u64)),
)
.arg(
arg!(--"request-idle-timeout" <MILLISECONDS>)
.help("Maximum time in milliseconds that can be waited from when a worker takes over the request")
.help("Maximum time in milliseconds that can be waited from when a worker takes over the request (disabled by default)")
.value_parser(value_parser!(u64)),
)
.arg(
arg!(--"request-read-timeout" <MILLISECONDS>)
.help("Maximum time in milliseconds that can be waited from when the connection is accepted until the request body is fully read")
.help("Maximum time in milliseconds that can be waited from when the connection is accepted until the request body is fully read (disabled by default)")
.value_parser(value_parser!(u64)),
)
.arg(
Expand Down

0 comments on commit 3a38efb

Please sign in to comment.