opt:刷新最小CD设为60min

This commit is contained in:
李鹏军 2024-03-26 11:06:11 +08:00
parent 2520955613
commit 4d9fb2bbfb

View File

@ -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);
} }