chore: fix comment
This commit is contained in:
@@ -660,7 +660,7 @@ async fn transfer<I, O>(inbound: I, outbound: O) -> Result<()>
|
||||
|
||||
let (mut ri, mut wi) = tokio::io::split(inbound);
|
||||
let (mut ro, mut wo) = tokio::io::split(outbound);
|
||||
// IO copy timeout 12 HOURS
|
||||
// IO copy timeout 6 HOURS
|
||||
let tcp_io_copy_timeout = Duration::from_secs(6 * 3600);
|
||||
let client_to_server = async move {
|
||||
// let copy_result = time::timeout(tcp_io_copy_timeout, tokio::io::copy(&mut ri, &mut wo));
|
||||
|
||||
Reference in New Issue
Block a user