From be80136ae88ed330e6c4b8b871e07c2b2868a3dd Mon Sep 17 00:00:00 2001 From: masoodafar-web Date: Tue, 24 Feb 2026 00:24:02 +0330 Subject: [PATCH] fix: reduce discount order expiry from 30 to 15 minutes --- .../BackgroundServices/ExpirePendingOrdersService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMSMicroservice.Infrastructure/BackgroundServices/ExpirePendingOrdersService.cs b/src/CMSMicroservice.Infrastructure/BackgroundServices/ExpirePendingOrdersService.cs index 47bd396..3eb9df5 100644 --- a/src/CMSMicroservice.Infrastructure/BackgroundServices/ExpirePendingOrdersService.cs +++ b/src/CMSMicroservice.Infrastructure/BackgroundServices/ExpirePendingOrdersService.cs @@ -17,9 +17,9 @@ public class ExpirePendingOrdersService : BackgroundService private readonly ILogger _logger; /// - /// مدت زمان انقضا (۳۰ دقیقه) + /// مدت زمان انقضا (۱۵ دقیقه) /// - private static readonly TimeSpan ExpirationTime = TimeSpan.FromMinutes(30); + private static readonly TimeSpan ExpirationTime = TimeSpan.FromMinutes(15); /// /// هر ۵ دقیقه چک می‌شود