Uncomment the thread

This commit is contained in:
Sasha Krassovsky
2024-01-22 14:53:29 -08:00
committed by Sasha Krassovsky
parent 394ef013d0
commit 11a91eaf7b
+4 -8
View File
@@ -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(())
}