Skip to content

Commit 8001cef

Browse files
author
Andraz Vrhovec
committed
Try to comment out OwidController #2
1 parent dbeb88b commit 8001cef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sources/SloCovidServer/SloCovidServer/Services/Implemented/Communicator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public async Task RefreshCache(CancellationToken ct)
206206
var regionCasesDay = RefreshEndpointCache($"{root}/region-cases.csv", regionCasesCache, new RegionCasesMapper().GetDayFromRaw);
207207
var healthCentersDay = RefreshEndpointCache($"{root}/health_centers.csv", healthCentersDayCache, new HealthCentersMapper().GetHealthCentersDayFromRaw);
208208
var statsWeeklyDay = RefreshEndpointCache($"{root}/stats-weekly.csv", statsWeeklyDayCache, new StatsWeeklyMapper().GetStatsWeeklyDayFromRaw);
209-
var owidCountries = RefreshJsonEndpointCache("https://covid.ourworldindata.org/data/owid-covid-data.json", owidCountriesCache, owidSerializer, ct);
209+
// var owidCountries = RefreshJsonEndpointCache("https://covid.ourworldindata.org/data/owid-covid-data.json", owidCountriesCache, owidSerializer, ct);
210210
var monthlyDeathsSlovenia = RefreshEndpointCache($"{root}/monthly_deaths_slovenia.csv", monthlyDeathsSloveniaCache, new MonthlyDeathsSloveniaMapper().GetFromRaw);
211211
var labTests = RefreshEndpointCache($"{root}/lab-tests.csv", labTestsCache, new LabTestsMapper().MapFromRaw);
212212
var dailyDeathsSlovenia = RefreshEndpointCache($"{root}/daily_deaths_slovenia.csv", dailyDeathsSloveniaCache, new DailyDeathsSloveniaMapper().GetFromRaw);
@@ -224,7 +224,7 @@ public async Task RefreshCache(CancellationToken ct)
224224
await Task.WhenAll(schoolAbsences, schoolRegimes);
225225
await UpdateSchoolsStatusesAsync(ct);
226226
await Task.WhenAll(stats, patients, hospitals, hospitalsList, municipalitiesList, retirementHomesList,
227-
retirementHomes, municipalityDay, regionCasesDay, healthCentersDay, statsWeeklyDay, owidCountries, monthlyDeathsSlovenia,
227+
retirementHomes, municipalityDay, regionCasesDay, healthCentersDay, statsWeeklyDay, monthlyDeathsSlovenia,
228228
labTests, dailyDeathsSlovenia, ageDeathsDeathSloveniaDay, sewageDay, schoolCasesDay, vaccinations, episariWeek);
229229

230230
logger.LogDebug($"GH cache refreshed in {sw.Elapsed}");

0 commit comments

Comments
 (0)