Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Make sure user-supplied timeout takes precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Mar 25, 2024
1 parent f7737b7 commit 7b1847d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radicle/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ impl Handle for Node {
nid: from,
timeout,
},
DEFAULT_TIMEOUT,
DEFAULT_TIMEOUT.max(timeout),
)?
.next()
.ok_or(Error::EmptyResponse)??;
Expand Down

0 comments on commit 7b1847d

Please sign in to comment.