mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -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;
|
||||
|
|
|
@ -5,7 +5,6 @@ using NzbDrone.Common.Composition;
|
|||
|
||||
namespace NzbDrone.Core.Datastore.Migration.Framework
|
||||
{
|
||||
[Singleton]
|
||||
public class MigrationLogger : IAnnouncer
|
||||
{
|
||||
private readonly Logger _logger;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue