mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-25 10:06:28 +00:00
Main Thread Panic when swarmed with clients (#158)
* Main Thread Panic when swarmed with clients * fix * fix * 1024 * fix * remove test * Update src/client.rs * Update src/main.rs * Update src/client.rs * Update src/main.rs Co-authored-by: Lev Kokotov <levkk@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
417358c35d
commit
976b406468
@@ -95,7 +95,7 @@ pub async fn client_entrypoint(
|
||||
mut stream: TcpStream,
|
||||
client_server_map: ClientServerMap,
|
||||
shutdown: Receiver<()>,
|
||||
drain: Sender<i8>,
|
||||
drain: Sender<i32>,
|
||||
admin_only: bool,
|
||||
) -> Result<(), Error> {
|
||||
// Figure out if the client wants TLS or not.
|
||||
|
||||
Reference in New Issue
Block a user