Replace AscCache.Default with Memory and Notify

This commit is contained in:
pavelbannov 2019-07-23 16:05:40 +03:00
parent 92f4c142d8
commit bb1f3f8524

View File

@ -41,7 +41,7 @@ namespace ASC.Web.Core.Sms
public static readonly int AttemptCount;
private static readonly object KeyLocker = new object();
private static readonly ICacheNotify<SmsKeyCacheKey> KeyCacheNotify;
private static readonly ICache KeyCache = AscCache.Default;
private static readonly ICache KeyCache = AscCache.Memory;
private static readonly ICache CheckCache = AscCache.Memory;
static SmsKeyStorage()