临时数据存储时间修改为10秒
This commit is contained in:
parent
1a347f201a
commit
39c3bfa21f
|
|
@ -441,7 +441,7 @@ namespace Waste.Application.ThirdApiInfo
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var val = await _cahce.GetAsync(result.sn);
|
var val = await _cahce.GetAsync(result.sn);
|
||||||
var time = new DistributedCacheEntryOptions().SetSlidingExpiration(TimeSpan.FromSeconds(5));
|
var time = new DistributedCacheEntryOptions().SetSlidingExpiration(TimeSpan.FromSeconds(10));
|
||||||
if (val != null && val.Length > 0)
|
if (val != null && val.Length > 0)
|
||||||
{
|
{
|
||||||
byte[] newval = new byte[val.Length + result.databyte.Length];
|
byte[] newval = new byte[val.Length + result.databyte.Length];
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue