mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
added NoOpPerformanceCounterManager for signalr so linux doesn't blowup.
This commit is contained in:
parent
72d0b9c839
commit
5a52de7ba9
4 changed files with 112 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using Microsoft.AspNet.SignalR;
|
||||
using Microsoft.AspNet.SignalR.Infrastructure;
|
||||
using NzbDrone.Common.Composition;
|
||||
|
||||
namespace NzbDrone.Api.SignalR
|
||||
|
@ -15,6 +16,7 @@ namespace NzbDrone.Api.SignalR
|
|||
|
||||
private SignalrDependencyResolver(IContainer container)
|
||||
{
|
||||
container.RegisterSingleton(typeof(IPerformanceCounterManager), typeof(NoOpPerformanceCounterManager));
|
||||
_container = container;
|
||||
}
|
||||
|
||||
|
@ -28,4 +30,4 @@ namespace NzbDrone.Api.SignalR
|
|||
return base.GetService(serviceType);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue