mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-06-06 18:08:18 +08:00
perf: 优化错误提示
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ public class DiscussLableRepository : SqlSugarRepository<DiscussLableAggregateRo
|
||||
return entities.Adapt<List<DiscussLableCacheItem>>();
|
||||
}, () =>
|
||||
new DistributedCacheEntryOptions()
|
||||
{ AbsoluteExpirationRelativeToNow = TimeSpan.FromHours(2) }
|
||||
{ AbsoluteExpirationRelativeToNow = TimeSpan.FromHours(2) },hideErrors:true
|
||||
);
|
||||
return cahce.ToDictionary(x => x.Id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user