From 7b1847d8ad165599c177aa33a68b1fd98164def9 Mon Sep 17 00:00:00 2001 From: cloudhead Date: Mon, 25 Mar 2024 14:03:08 +0100 Subject: [PATCH] Make sure user-supplied timeout takes precedence --- radicle/src/node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicle/src/node.rs b/radicle/src/node.rs index dde0e5027..34f7fdb9f 100644 --- a/radicle/src/node.rs +++ b/radicle/src/node.rs @@ -1090,7 +1090,7 @@ impl Handle for Node { nid: from, timeout, }, - DEFAULT_TIMEOUT, + DEFAULT_TIMEOUT.max(timeout), )? .next() .ok_or(Error::EmptyResponse)??;