This commit is contained in:
@@ -186,19 +186,12 @@ namespace AyaNova.Biz
|
||||
//system lock (no license) is a complete deal breaker for continuation beyond here
|
||||
if (serverState.IsSystemLocked) return;
|
||||
|
||||
//Moved the following user count checker to within JOB SWEEPER so that it only checks on every half hour so it's less obvious in logs with full trace on and
|
||||
//also so someone fucking with the system won't get locked out right away.
|
||||
//"SHENANIGAN" CHECK, note, must be here after systemlock because it relies on there being a license
|
||||
// if (await UserBiz.ActiveCountAsync() > AyaNova.Core.License.ActiveKey.ActiveNumber)
|
||||
// {
|
||||
// var msg = $"E1020 - Active count exceeded capacity";
|
||||
// ServiceProviderProvider.ServerState.SetSystemLock(msg);
|
||||
// log.LogCritical(msg);
|
||||
// return;
|
||||
// }
|
||||
|
||||
log.LogDebug("Processing semi-critical internal jobs");
|
||||
|
||||
#if (DEBUG)
|
||||
log.LogInformation("Processing semi-critical internal jobs (backup, pm, notification etc)");
|
||||
#endif
|
||||
|
||||
//BACKUP
|
||||
await CoreJobBackup.DoWorkAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user