Merge branch 'refs/heads/S04轨迹预警' into test
This commit is contained in:
commit
69f01afd6f
@ -90,8 +90,11 @@ public class TrackPullService : ApplicationService
|
||||
public async Task<bool> RefreshForTaskAsync()
|
||||
{
|
||||
var configs = await _trackPullCacheService.GetAllPullConfigsAsync();
|
||||
var tasks = configs.Select(RefreshForConfigAsync).ToArray();
|
||||
await Task.WhenAll(tasks);
|
||||
foreach (var config in configs)
|
||||
{
|
||||
await RefreshForConfigAsync(config);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user