1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-19 21:46:50 -04:00

signalr cleanup

This commit is contained in:
kay.one
2013-09-10 23:33:47 -07:00
committed by Keivan Beigi
parent feda4a9b67
commit 25e2c98c45
219 changed files with 2035 additions and 1495 deletions
@@ -0,0 +1,23 @@
using System.Threading;
using NLog;
using NzbDrone.Core.Instrumentation;
namespace NzbDrone.Core.Messaging.Commands
{
public class TestCommandExecutor : IExecute<TestCommand>
{
private readonly Logger _logger;
public TestCommandExecutor(Logger logger)
{
_logger = logger;
}
public void Execute(TestCommand message)
{
_logger.ProgressInfo("Starting Test command. duration {0}", message.Duration);
Thread.Sleep(message.Duration);
_logger.ProgressInfo("Completed Test command");
}
}
}