IRC_NewDev
he 2023-10-18 11:41:06 +08:00
parent 61b5a8295c
commit 03f7173855
1 changed files with 1 additions and 1 deletions

View File

@ -2566,7 +2566,7 @@ namespace IRaCIS.Application.Services
{
throw new BusinessValidationFailedException(_localizer["ReadingImage_NeedRest", 2, 20]);
}
else if (timespanMin > 1)
else if (timespanMin > 140)
{
cacheDate = cacheDate.AddMinutes((Math.Floor((double)(timespanMin / 140))) * 140);
_provider.Set(cacheKey, cacheDate.ToString(), TimeSpan.FromHours(5));