opt:刷新最小CD设为60min
This commit is contained in:
parent
2520955613
commit
4d9fb2bbfb
@ -104,6 +104,7 @@ public class TrackPullService : ApplicationService
|
|||||||
group.Key.SubSystemId, group.Key.OrderType)));
|
group.Key.SubSystemId, group.Key.OrderType)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (config.PullInterval < 60) config.PullInterval = 60;
|
||||||
await RedisHelper.Client.SetExAsync(redisKey, config.PullInterval * 60, orders.Count);
|
await RedisHelper.Client.SetExAsync(redisKey, config.PullInterval * 60, orders.Count);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user