From 11a91eaf7bb3733ac00930c4abf2f3b6160787f8 Mon Sep 17 00:00:00 2001 From: Sasha Krassovsky Date: Fri, 15 Dec 2023 14:14:18 -0800 Subject: [PATCH] Uncomment the thread --- compute_tools/src/compute.rs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/compute_tools/src/compute.rs b/compute_tools/src/compute.rs index b200720034..4ea6bf9987 100644 --- a/compute_tools/src/compute.rs +++ b/compute_tools/src/compute.rs @@ -744,14 +744,10 @@ impl ComputeNode { // 'Close' connection drop(client); - /* - thread::spawn( - move || - { - let mut client = Client::connect(connstr.as_str(), NoTls)?; - handle_migrations(&mut client) - }); - */ + thread::spawn(move || { + let mut client = Client::connect(connstr.as_str(), NoTls)?; + handle_migrations(&mut client) + }); Ok(()) }