This commit is contained in:
@@ -6,13 +6,9 @@ eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOiIxNTcxODU5OTU0IiwiZXhwIjoiMTU3MjQ
|
||||
## IMMEDIATE ITEMS
|
||||
|
||||
UPDATE all the things before commencing work
|
||||
|
||||
3.1.0-preview1-alpine3.10
|
||||
3.1-alpine3.10
|
||||
3.1.0-preview1-alpine
|
||||
3.1-alpine
|
||||
|
||||
- JOBS are not running!?
|
||||
- Post a release build fixup server to run 3.1.net
|
||||
- Generate data job not running? Keeps saying "sleeping"
|
||||
|
||||
- Update client end
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace AyaNova.Generator
|
||||
|
||||
while (!stoppingToken.IsCancellationRequested)
|
||||
{
|
||||
|
||||
|
||||
if (!justStarted)
|
||||
{
|
||||
log.LogDebug($"GeneratorService task doing background work.");
|
||||
@@ -78,21 +78,24 @@ namespace AyaNova.Generator
|
||||
AyContext ct = scope.ServiceProvider.GetRequiredService<AyContext>();
|
||||
ApiServerState serverState = scope.ServiceProvider.GetRequiredService<ApiServerState>();
|
||||
|
||||
if (!serverState.IsOpen)
|
||||
{
|
||||
log.LogDebug($"GeneratorService: ServerState is closed returning without processing jobs, will try again next iteration");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
//=================================================================
|
||||
try
|
||||
{
|
||||
await JobsBiz.ProcessJobsAsync(ct, serverState);
|
||||
if (!serverState.IsOpen)
|
||||
{
|
||||
log.LogDebug($"GeneratorService: ServerState is closed returning without processing jobs, will try again next iteration");
|
||||
}
|
||||
else
|
||||
{
|
||||
await JobsBiz.ProcessJobsAsync(ct, serverState);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.LogError(ex,"Generate::ProcessJobs result in exception error ");
|
||||
|
||||
log.LogError(ex, "Generate::ProcessJobs result in exception error ");
|
||||
|
||||
}
|
||||
//=================================================================
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user