mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Implemented cache for QualityDefinitionService to reduce db calls.
This commit is contained in:
@@ -100,6 +100,9 @@ namespace NzbDrone.Core.Jobs
|
||||
|
||||
public void Handle(CommandExecutedEvent message)
|
||||
{
|
||||
if (message.Command.GetType().Name == "BroadcastSignalRMessage")
|
||||
return;
|
||||
|
||||
var scheduledTask = _scheduledTaskRepository.All().SingleOrDefault(c => c.TypeName == message.Command.GetType().FullName);
|
||||
|
||||
if (scheduledTask != null)
|
||||
|
Reference in New Issue
Block a user