Add Hangfire

Adjust namespace
This commit is contained in:
2016-11-17 13:36:13 -05:00
parent 88a21593da
commit eeacfebec9
34 changed files with 1007 additions and 38 deletions
@@ -0,0 +1,16 @@
using LeafWeb.Core.Entities;
namespace LeafWeb.WebCms.Services.PiscalQueue
{
public class StartPending : PiscalQueueWorker
{
protected override void DoWorkInternal(LeafInput leafInput)
{
Logger.DebugFormat("LeafInput: {0}, Run", leafInput.Id);
PiscalService.Run(leafInput);
DataService.SetLeafInputStatus(leafInput, LeafInputStatusType.Running);
}
}
}