mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
all services are singleton by default.
This commit is contained in:
parent
8bdf8c31f0
commit
763df726f0
12 changed files with 5 additions and 34 deletions
|
@ -2,7 +2,6 @@
|
|||
using System.Data.SQLite;
|
||||
using Marr.Data;
|
||||
using Marr.Data.Reflection;
|
||||
using NzbDrone.Common.Composition;
|
||||
using NzbDrone.Core.Datastore.Migration.Framework;
|
||||
|
||||
|
||||
|
@ -13,7 +12,6 @@ namespace NzbDrone.Core.Datastore
|
|||
IDatabase Create(string dbPath, MigrationType migrationType = MigrationType.Main);
|
||||
}
|
||||
|
||||
[Singleton]
|
||||
public class DbFactory : IDbFactory
|
||||
{
|
||||
private readonly IMigrationController _migrationController;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue