diff --git a/src/Infrastructure/BotSharp.OpenAPI/BackgroundServices/ConversationTimeoutService.cs b/src/Infrastructure/BotSharp.OpenAPI/BackgroundServices/ConversationTimeoutService.cs index 1caa620f..7dc0b422 100644 --- a/src/Infrastructure/BotSharp.OpenAPI/BackgroundServices/ConversationTimeoutService.cs +++ b/src/Infrastructure/BotSharp.OpenAPI/BackgroundServices/ConversationTimeoutService.cs @@ -21,11 +21,11 @@ namespace BotSharp.OpenAPI.BackgroundServices while (true) { stoppingToken.ThrowIfCancellationRequested(); - var delay = Task.Delay(TimeSpan.FromSeconds(10)); + var delay = Task.Delay(TimeSpan.FromMinutes(1)); try { - //await CloseIdleConversationsAsync(TimeSpan.FromMinutes(10)); await CleanIdleConversationsAsync(); + await CloseIdleConversationsAsync(TimeSpan.FromMinutes(10)); } catch (Exception ex)