This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -12,6 +12,8 @@ namespace Sockeye.Models
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
public long? CustomerId { get; set; }
|
||||
public long? LicenseId { get; set; }//when licensed will be set to this license id
|
||||
THINKING ON THIS ONE public bool Licenseable { get; set; } = false;//indicates it is ready for the licensing job to license this purchase (if has no license id)
|
||||
[NotMapped]
|
||||
public string CustomerViz { get; set; }
|
||||
[Required]
|
||||
@@ -33,7 +35,7 @@ namespace Sockeye.Models
|
||||
public bool RenewNoticeSent { get; set; } = false;
|
||||
public int Quantity { get; set; } = 1;
|
||||
public string VendorData { get; set; }
|
||||
public bool Processed { get; set; } = false;//indicates it was processed, false means it should be processed
|
||||
public bool Processed { get; set; } = false;//indicates it was processed from raw vendor data into proper values, false means it should be processed
|
||||
public string Wiki { get; set; }
|
||||
public List<string> Tags { get; set; }
|
||||
//workaround for notification
|
||||
|
||||
Reference in New Issue
Block a user