Skip to content

Commit 6a4b043

Browse files
committed
f fix comment
1 parent 862a55b commit 6a4b043

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning-block-sync/src/http.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ use std::net::TcpStream;
2424
/// Timeout for operations on TCP streams.
2525
const TCP_STREAM_TIMEOUT: Duration = Duration::from_secs(5);
2626

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.
3131
const TCP_STREAM_RESPONSE_TIMEOUT: Duration = Duration::from_secs(120);
3232

3333
/// Maximum HTTP message header size in bytes.

0 commit comments

Comments
 (0)