Browse Source

缩短消息缓存时间

master
sanji 1 year ago
parent
commit
764f35707b
  1. 2
      QYMessageCenter.Business/MessageBusiness.cs

2
QYMessageCenter.Business/MessageBusiness.cs

@ -21,7 +21,7 @@ namespace QYMessageCenter.Business
public MessageBusiness(IFreeSql fsql, NLogManager nLogManager, IIdGenerator idGenerator, RestApiService restApiService, IMemoryCache memoryCache) : base(fsql, nLogManager, idGenerator, restApiService)
{
this.memoryCache = memoryCache;
this.msgCacheTimeSpan = new TimeSpan(12, 0, 0);
this.msgCacheTimeSpan = new TimeSpan(1, 0, 0);
}
/// <summary>

Loading…
Cancel
Save