mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 01:12:56 +00:00
fix close order
This commit is contained in:
@@ -73,7 +73,7 @@ where
|
||||
|
||||
// initiate shutdown.
|
||||
match close_dir {
|
||||
Direction::ComputeToClient => {
|
||||
Direction::ClientToCompute => {
|
||||
info!("Client is done, terminate compute");
|
||||
|
||||
// we will never write anymore data to the client.
|
||||
@@ -82,7 +82,7 @@ where
|
||||
// make sure to shutdown the client conn.
|
||||
compute_to_client.need_flush = true;
|
||||
}
|
||||
Direction::ClientToCompute => {
|
||||
Direction::ComputeToClient => {
|
||||
info!("Compute is done, terminate client");
|
||||
|
||||
// we will never write anymore data to the compute.
|
||||
|
||||
Reference in New Issue
Block a user