Added autoload queue index on startup
This commit is contained in:
@@ -72,6 +72,9 @@ namespace Step.Database.Controllers
|
||||
RemainingReps = entity.RemainingReps,
|
||||
Status = (QUEUE_ITEM_STATUS)entity.Status
|
||||
});
|
||||
|
||||
if((QUEUE_ITEM_STATUS)entity.Status == QUEUE_ITEM_STATUS.RUNNING)
|
||||
QueueRunningIndexes[entity.Process] = entity.Id - 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user