This commit is contained in:
Joe Milazzo 2025-03-02 17:55:23 -06:00 committed by GitHub
parent 78a98d0d18
commit 5af851af08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 264 additions and 117 deletions

View file

@ -44,7 +44,10 @@ public class LicenseService(
{
private readonly TimeSpan _licenseCacheTimeout = TimeSpan.FromHours(8);
public const string Cron = "0 */9 * * *";
private const string CacheKey = "license";
/// <summary>
/// Cache key for if license is valid or not
/// </summary>
public const string CacheKey = "license";
private const string LicenseInfoCacheKey = "license-info";