Skip to content

Commit

Permalink
fix(default) : sets default values to timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
David committed Feb 16, 2024
1 parent 6fc8a63 commit cc7e3cf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@ fun ParameterHolder.httpLoggingLevel() = option(
fun ParameterHolder.httpRequestTimeout() = option(
"--http-request-timeout",
help = "Http request timeout in milliseconds. Default 30 000 "
).long()
).long().default(30000)

fun ParameterHolder.httpSocketTimeout() = option(
"--http-socket-timeout",
help = "Http socket timeout in milliseconds. Default 30 000 "
).long()
).long().default(30000)

fun ParameterHolder.httpConnectTimeout() = option(
"--http-connect-timeout",
help = "Http connect timeout in milliseconds. Default 30 000 "
).long()
).long().default(30000)

internal interface WithConfluenceServerOptions {
val confluenceUrl: Url?
Expand Down

0 comments on commit cc7e3cf

Please sign in to comment.