File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ use std::net::TcpStream;
24
24
/// Timeout for operations on TCP streams.
25
25
const TCP_STREAM_TIMEOUT : Duration = Duration :: from_secs ( 5 ) ;
26
26
27
- /// Timeout for reading the first byte of a response. This is separate as it is not uncommon for
28
- /// Bitcoin Core to be blocked waiting on UTXO cache flushes for upwards of a minute or more. Note
29
- /// that we always retry once when we time out, so the maximum time we allow Bitcoin Core to block
30
- /// for is twice this value.
27
+ /// Timeout for reading the first byte of a response. This is separate from the general read
28
+ /// timeout as it is not uncommon for Bitcoin Core to be blocked waiting on UTXO cache flushes for
29
+ /// upwards of a minute or more. Note that we always retry once when we time out, so the maximum
30
+ /// time we allow Bitcoin Core to block for is twice this value.
31
31
const TCP_STREAM_RESPONSE_TIMEOUT : Duration = Duration :: from_secs ( 120 ) ;
32
32
33
33
/// Maximum HTTP message header size in bytes.
You can’t perform that action at this time.
0 commit comments