Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: increase the https outcall request timeout to 60 secs #3512

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rs/https_outcalls/adapter/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use serde::{Deserialize, Serialize};
use std::path::PathBuf;

const DEFAULT_HTTP_CONNECT_TIMEOUT_SECS: u64 = 2;
const DEFAULT_HTTP_REQUEST_TIMEOUT_SECS: u64 = 30;
const DEFAULT_HTTP_REQUEST_TIMEOUT_SECS: u64 = 60;

#[derive(Clone, Eq, PartialEq, Debug, Default, Deserialize, Serialize)]
/// The source of the unix domain socket to be used for inter-process
Expand Down
2 changes: 1 addition & 1 deletion rs/tests/networking/canister_http_correctness_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ pub fn test_http_endpoint_with_delayed_response_is_rejected(env: TestEnv) {
&handlers.proxy_canister(),
RemoteHttpRequest {
request: CanisterHttpRequestArgs {
url: format!("https://[{webserver_ipv6}]:20443/delay/40"),
url: format!("https://[{webserver_ipv6}]:20443/delay/100"),
headers: BoundedHttpHeaders::new(vec![]),
method: HttpMethod::GET,
body: Some("".as_bytes().to_vec()),
Expand Down
Loading