Make sure user-supplied timeout takes precedence
This commit is contained in:
parent
f7737b73c9
commit
7b1847d8ad
|
|
@ -1090,7 +1090,7 @@ impl Handle for Node {
|
||||||
nid: from,
|
nid: from,
|
||||||
timeout,
|
timeout,
|
||||||
},
|
},
|
||||||
DEFAULT_TIMEOUT,
|
DEFAULT_TIMEOUT.max(timeout),
|
||||||
)?
|
)?
|
||||||
.next()
|
.next()
|
||||||
.ok_or(Error::EmptyResponse)??;
|
.ok_or(Error::EmptyResponse)??;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue