removed atomic round-robin

This commit is contained in:
Lev Kokotov
2022-02-10 10:37:49 -08:00
parent c1476d29da
commit 22c6f13dc7
2 changed files with 44 additions and 33 deletions

View File

@@ -153,7 +153,7 @@ impl Client {
}
/// Client loop. We handle all messages between the client and the database here.
pub async fn handle(&mut self, pool: ConnectionPool) -> Result<(), Error> {
pub async fn handle(&mut self, mut pool: ConnectionPool) -> Result<(), Error> {
// Special: cancelling existing running query
if self.cancel_mode {
let (process_id, secret_key, address, port) = {