Skip to content

Commit 36a3d5d

Browse files
Update app/services/recommendation/engine.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 390d69c commit 36a3d5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/services/recommendation/engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,10 +642,10 @@ async def get_recommendations_for_theme(self, theme_id: str, content_type: str,
642642
num_excluded = len(excluded_ids) if excluded_ids else 0
643643
# Movies and Series both have ~20 genres, so if more than 10 are excluded, fetch more pages
644644
if num_excluded > 10:
645-
# Fetch 8-10 pages when most genres are excluded
645+
# Fetch 10 pages when most genres are excluded
646646
pages_to_fetch = list(range(1, 11))
647647
elif num_excluded > 5:
648-
# Fetch 5-6 pages when many genres are excluded
648+
# Fetch 5 pages when many genres are excluded
649649
pages_to_fetch = list(range(1, 6))
650650
else:
651651
# Default: 3 pages

0 commit comments

Comments
 (0)