IRC_NewDev
parent
61b5a8295c
commit
03f7173855
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue