This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<GenerateFullPaths>true</GenerateFullPaths>
|
||||
<Version>8.0.9</Version>
|
||||
<FileVersion>8.0.9.0</FileVersion>
|
||||
<Version>8.0.10</Version>
|
||||
<FileVersion>8.0.10.0</FileVersion>
|
||||
<ApplicationIcon>ayanova.ico</ApplicationIcon>
|
||||
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
|
||||
<noWarn>1591</noWarn>
|
||||
|
||||
@@ -34,8 +34,10 @@ namespace AyaNova.Biz
|
||||
var tsSinceLastCheck = DateTime.UtcNow - _lastCheck;
|
||||
//which track are we on?
|
||||
/*
|
||||
NONE = 0,//fast track
|
||||
ActiveTrial = 1,//slow track
|
||||
FAST TRACK=30 minutes
|
||||
SLOW TRACK= 24 hours
|
||||
NONE = 0,//fast track (no license)
|
||||
ActiveTrial = 1,//fast track (because they may be testing a migration and running out of time and don't want to cancel it)
|
||||
ExpiredTrial = 2,//fast track
|
||||
ActivePurchased = 3,//slow track
|
||||
ExpiredPurchased = 4,//fast track
|
||||
@@ -45,6 +47,7 @@ namespace AyaNova.Biz
|
||||
switch (AyaNova.Core.License.ActiveKey.Status)
|
||||
{
|
||||
case AyaNova.Core.License.AyaNovaLicenseKey.LicenseStatus.NONE:
|
||||
case AyaNova.Core.License.AyaNovaLicenseKey.LicenseStatus.ActiveTrial:
|
||||
case AyaNova.Core.License.AyaNovaLicenseKey.LicenseStatus.ExpiredTrial:
|
||||
case AyaNova.Core.License.AyaNovaLicenseKey.LicenseStatus.ExpiredPurchased:
|
||||
tsCheckFrequency = FAST_TRACK;
|
||||
@@ -69,7 +72,7 @@ namespace AyaNova.Biz
|
||||
var ret = await AyaNova.Core.License.FetchKeyAsync(ServerState, ct, log, true);
|
||||
//When this was enabled never saw a failed fetch, trying again without it
|
||||
//#if (DEBUG)
|
||||
// log.LogInformation("TEMP TEST LOG: CoreJobLicense - result is: " + ret);
|
||||
// log.LogInformation("TEMP TEST LOG: CoreJobLicense - result is: " + ret);
|
||||
//#endif
|
||||
//most often the result will be "notfound" but in future might be other results
|
||||
if (ret == "ok")
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace AyaNova.Util
|
||||
/// </summary>
|
||||
internal static class AyaNovaVersion
|
||||
{
|
||||
public const string VersionString = "8.0.9";
|
||||
public const string VersionString = "8.0.10";
|
||||
public const string FullNameAndVersion = "AyaNova server " + VersionString;
|
||||
public const string CurrentApiVersion="v8";
|
||||
}//eoc
|
||||
|
||||
Reference in New Issue
Block a user