Add debug-specific check interval for enterprise environment

This commit is contained in:
Thorsten Sommer 2025-06-02 19:28:52 +02:00
parent 08ef18156f
commit 041cbc568b
No known key found for this signature in database
GPG Key ID: B0B7E2FC074BF1F5

View File

@ -6,7 +6,11 @@ public sealed class EnterpriseEnvironmentService(ILogger<EnterpriseEnvironmentSe
{ {
public static EnterpriseEnvironment CURRENT_ENVIRONMENT; public static EnterpriseEnvironment CURRENT_ENVIRONMENT;
#if DEBUG
private static readonly TimeSpan CHECK_INTERVAL = TimeSpan.FromMinutes(6);
#else
private static readonly TimeSpan CHECK_INTERVAL = TimeSpan.FromMinutes(16); private static readonly TimeSpan CHECK_INTERVAL = TimeSpan.FromMinutes(16);
#endif
#region Overrides of BackgroundService #region Overrides of BackgroundService