Merge branch 'refs/heads/S04轨迹预警' into test

This commit is contained in:
xiaolipro 2024-08-07 09:51:21 +08:00
commit cfe56effb2

View File

@ -90,11 +90,8 @@ public class TrackPullService : ApplicationService
public async Task<bool> RefreshForTaskAsync()
{
var configs = await _trackPullCacheService.GetAllPullConfigsAsync();
foreach (var config in configs)
{
await RefreshForConfigAsync(config);
}
var tasks = configs.Select(RefreshForConfigAsync).ToArray();
await Task.WhenAll(tasks);
return true;
}