mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-18 21:35:27 -04:00
Clear the connection pool in the backdoor migration to prevent occasional conflicts with following migrations
This commit is contained in:
+2
@@ -43,6 +43,8 @@ namespace NzbDrone.Core.Datastore.Migration
|
||||
using (var connection = new SQLiteConnection(ConnectionString))
|
||||
using (var command = connection.CreateCommand())
|
||||
{
|
||||
SQLiteConnection.ClearPool(connection);
|
||||
|
||||
connection.Open();
|
||||
command.CommandText = "SELECT Description FROM VersionInfo WHERE Version = 111";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user