16 lines
351 B
C#
16 lines
351 B
C#
using LeafWeb.Core.Entities;
|
|
|
|
namespace LeafWeb.Web.Services
|
|
{
|
|
public class StartPending : PiscalQueueWorker
|
|
{
|
|
protected override void DoWorkInternal(LeafInput leafInput)
|
|
{
|
|
Logger.Trace("LeafInput: {0}, Run", leafInput.Id);
|
|
|
|
PiscalService.Run(leafInput);
|
|
|
|
DataService.SetLeafInputStatus(leafInput, LeafInputStatusType.Running);
|
|
}
|
|
}
|
|
} |