mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-20 16:52:57 +00:00
Add debug-specific check interval for enterprise environment
This commit is contained in:
parent
08ef18156f
commit
041cbc568b
@ -5,8 +5,12 @@ namespace AIStudio.Tools.Services;
|
||||
public sealed class EnterpriseEnvironmentService(ILogger<EnterpriseEnvironmentService> logger, RustService rustService) : BackgroundService
|
||||
{
|
||||
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);
|
||||
#endif
|
||||
|
||||
#region Overrides of BackgroundService
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user