Skip to content

Commit

Permalink
Set a small threshold so we ensure articles are relevant (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
tfnribeiro authored Sep 17, 2024
1 parent b4822d6 commit f83bed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/send_subscription_emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def send_subscription_emails():
page=0,
use_published_priority=True,
use_readability_priority=True,
score_threshold=0,
score_threshold=2,
)
new_articles_found = [
article
Expand Down
2 changes: 1 addition & 1 deletion zeeguu/api/endpoints/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def search_for_latest_search_terms(search_terms):
page=0,
use_published_priority=True,
use_readability_priority=True,
score_threshold=0,
score_threshold=2,
)
article_infos = [UserArticle.user_article_info(user, a) for a in articles]

Expand Down

0 comments on commit f83bed5

Please sign in to comment.