Piscal Queue working more resilient to error
This commit is contained in:
@@ -58,6 +58,17 @@ namespace LeafWeb.Core.DAL
|
||||
select file;
|
||||
}
|
||||
|
||||
public IQueryable<LeafInput> GetRunningLeafInputs()
|
||||
{
|
||||
return
|
||||
from file in _db.LeafInputs
|
||||
where
|
||||
file.CurrentStatus == LeafInputStatusType.Running ||
|
||||
file.CurrentStatus == LeafInputStatusType.Starting ||
|
||||
file.CurrentStatus == LeafInputStatusType.Finishing
|
||||
select file;
|
||||
}
|
||||
|
||||
public void AddLeafInput(LeafInput leafInput)
|
||||
{
|
||||
leafInput.Added = DateTime.Now;
|
||||
|
||||
Reference in New Issue
Block a user