Skip to content

Commit

Permalink
feat(client): increase default request timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Jun 13, 2023
1 parent 7e0edaf commit e389b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sn_networking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ use tracing::warn;
pub(crate) const CLOSE_GROUP_SIZE: usize = 8;

// Timeout for requests sent/received through the request_response behaviour.
const REQUEST_TIMEOUT: Duration = Duration::from_secs(10);
const REQUEST_TIMEOUT: Duration = Duration::from_secs(30);
// Sets the keep-alive timeout of idle connections.
const CONNECTION_KEEP_ALIVE_TIMEOUT: Duration = Duration::from_secs(10);

Expand Down

0 comments on commit e389b98

Please sign in to comment.