mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-25 21:46:50 +00:00
feat(rustfs/main): set TCP_NODELAY
This commit is contained in:
@@ -320,6 +320,10 @@ async fn run(opt: config::Opt) -> Result<()> {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Err(err) = socket.set_nodelay(true) {
|
||||||
|
warn!(?err, "Failed to set TCP_NODELAY");
|
||||||
|
}
|
||||||
|
|
||||||
if has_tls_certs {
|
if has_tls_certs {
|
||||||
debug!("TLS certificates found, starting with SIGINT");
|
debug!("TLS certificates found, starting with SIGINT");
|
||||||
let tls_socket = match tls_acceptor
|
let tls_socket = match tls_acceptor
|
||||||
|
|||||||
Reference in New Issue
Block a user