mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 16:23:26 +08:00
【调整】优化redis仓储,实现LockTake/LockRelease锁处理并发问题。
This commit is contained in:
@@ -78,7 +78,7 @@ namespace CoreCms.Net.Core.AOP
|
||||
}
|
||||
response ??= string.Empty;
|
||||
|
||||
_cache.Set(cacheKey, response, TimeSpan.FromMinutes(qCachingAttribute.AbsoluteExpiration)).Wait();
|
||||
_cache.SetAsync(cacheKey, response, TimeSpan.FromMinutes(qCachingAttribute.AbsoluteExpiration)).Wait();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user