This commit is contained in:
2023-01-20 02:18:52 +00:00
parent 3e4a47fd48
commit cfb17f4807
3 changed files with 16 additions and 5 deletions

View File

@@ -204,7 +204,6 @@ namespace Sockeye.Biz
//system lock (no license) is a complete deal breaker for continuation beyond here
if (serverState.IsSystemLocked) return false;
return true;
}
@@ -239,7 +238,7 @@ namespace Sockeye.Biz
//######################################################################################
//### Critical internal jobs
//METRICS
CoreJobMetricsSnapshot.DoWork();
@@ -263,7 +262,11 @@ namespace Sockeye.Biz
//SOCKBOT - SUBSCRIPTION SERVER HEALTH CHECKS
await SockBotSubscriptionServerHealthChecks.DoWorkAsync();
if (!KeepOnWorking()) return;
//SOCKBOT - PROCESS PURCHASES
await SockBotProcessPurchases.DoWorkAsync();
if (!KeepOnWorking()) return;
//JOB SWEEPER
await CoreJobSweeper.DoWorkAsync();
if (!KeepOnWorking()) return;
@@ -380,7 +383,7 @@ namespace Sockeye.Biz
case JobType.TestJob:
o = (IJobObject)BizObjectFactory.GetBizObject(SockType.ServerJob, ct, 1, AuthorizationRoles.BizAdmin);
break;
case JobType.AttachmentMaintenance:
o = (IJobObject)BizObjectFactory.GetBizObject(SockType.FileAttachment, ct, 1, AuthorizationRoles.BizAdmin);
break;