Remove compute migrations feature flag (#6653)

This commit is contained in:
Sasha Krassovsky
2024-02-07 07:55:55 -09:00
committed by GitHub
parent 75f1a01d4a
commit 7b49e5e5c3
5 changed files with 9 additions and 16 deletions

View File

@@ -773,12 +773,11 @@ impl ComputeNode {
// 'Close' connection
drop(client);
if self.has_feature(ComputeFeature::Migrations) {
thread::spawn(move || {
let mut client = Client::connect(connstr.as_str(), NoTls)?;
handle_migrations(&mut client)
});
}
// Run migrations separately to not hold up cold starts
thread::spawn(move || {
let mut client = Client::connect(connstr.as_str(), NoTls)?;
handle_migrations(&mut client)
});
Ok(())
}