mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
added TTL to cached objects
This commit is contained in:
parent
fa5dda8e2f
commit
121f3b973d
11 changed files with 160 additions and 141 deletions
|
@ -28,10 +28,10 @@ namespace NzbDrone.Core.Datastore.Migration.Framework
|
|||
{
|
||||
lock (MigrationCache)
|
||||
{
|
||||
_announcer.Heading("Migrating " + connectionString);
|
||||
|
||||
if (MigrationCache.Contains(connectionString.ToLower())) return;
|
||||
|
||||
_announcer.Heading("Migrating " + connectionString);
|
||||
|
||||
var assembly = Assembly.GetExecutingAssembly();
|
||||
|
||||
var migrationContext = new RunnerContext(_announcer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue