Skip to content

Commit

Permalink
close connection when running migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
imabdulbasit committed Nov 20, 2024
1 parent 9860c41 commit d4e5930
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/data_source/storage/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,8 @@ impl SqlStorage {
.await?;
}

conn.close().await?;

Ok(Self {
pool,
pool_metrics,
Expand Down

0 comments on commit d4e5930

Please sign in to comment.