Skip to content

Commit

Permalink
chore(cron): enable sentiment trend cache filling
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpomerenke committed Sep 2, 2024
1 parent 12df622 commit c236511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend-python/media_impact_monitor/cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def fill_cache():
except Exception as e:
errors.append(f"events {data_source}: {e}")
for media_source in ["news_online", "news_print", "web_google"]:
for trend_type in ["keywords"]: # , "sentiment"]:
for trend_type in ["keywords", "sentiment"]:
for aggregation in ["daily", "weekly"]:
if aggregation == "daily" and media_source == "web_google":
continue
Expand Down

0 comments on commit c236511

Please sign in to comment.