Piscal Queue working more resilient to error

This commit is contained in:
2016-04-18 10:44:36 -04:00
parent 6623aa48ea
commit ca1a235c1d
21 changed files with 418 additions and 176 deletions
+16
View File
@@ -0,0 +1,16 @@
using LeafWeb.Core.Entities;
namespace LeafWeb.Web.Services
{
public class SetComplete : PiscalQueueWorker
{
protected override void DoWorkInternal(LeafInput leafInput)
{
Logger.Trace("LeafInput: {0}, Set Complete", leafInput.Id);
DataService.SetLeafInputStatus(leafInput, LeafInputStatusType.Complete);
HangfireStartup.TriggerPiscalProcessQueue();
}
}
}