1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-07-07 04:19:25 +02:00

Fixed: Update ScheduledTask cache LastStartTime on command execution

This commit is contained in:
Qstick 2022-04-15 18:16:01 -05:00
parent 8d4b2dd21b
commit cabdad6306

View File

@ -212,6 +212,7 @@ public void Handle(CommandExecutedEvent message)
_scheduledTaskRepository.SetLastExecutionTime(scheduledTask.Id, lastExecution, message.Command.StartedAt.Value);
_cache.Find(scheduledTask.TypeName).LastExecution = lastExecution;
_cache.Find(scheduledTask.TypeName).LastStartTime = message.Command.StartedAt.Value;
}
}