Uncomment the thread

This commit is contained in:
Sasha Krassovsky
2023-12-15 14:14:18 -08:00
committed by Sasha Krassovsky
parent 394ef013d0
commit 11a91eaf7b

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(())
}