Revert "temp"

This reverts commit b59418e6ff.
This commit is contained in:
xiaolipro 2024-08-07 09:51:14 +08:00
parent b59418e6ff
commit a4f78e7bb6

View File

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