diff --git a/packages/hurl/src/http/options.rs b/packages/hurl/src/http/options.rs index f9d97bf21..c60dd263b 100644 --- a/packages/hurl/src/http/options.rs +++ b/packages/hurl/src/http/options.rs @@ -45,8 +45,8 @@ impl Default for ClientOptions { no_proxy: None, verbose: false, insecure: false, - timeout: Duration::new(300, 0), - connect_timeout: Duration::new(300, 0), + timeout: Duration::from_secs(300), + connect_timeout: Duration::from_secs(300), user: None, compressed: false, context_dir: ".".to_string(),