mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 09:52:54 +00:00
experiment: buffered socket with 128k buffer size; not super needle-moving
This commit is contained in:
@@ -284,6 +284,8 @@ async fn page_service_conn_main(
|
||||
socket.set_timeout(Some(std::time::Duration::from_millis(socket_timeout_ms)));
|
||||
let socket = Box::pin(socket);
|
||||
|
||||
let socket = tokio::io::BufStream::with_capacity(128<<10, 128<<10, socket);
|
||||
|
||||
fail::fail_point!("ps::connection-start::pre-login");
|
||||
|
||||
// XXX: pgbackend.run() should take the connection_ctx,
|
||||
|
||||
Reference in New Issue
Block a user