fix: timeout issue

This commit is contained in:
2025-09-15 15:11:58 +02:00
parent ff171984f4
commit fad35d10d3
2 changed files with 64 additions and 52 deletions

View File

@@ -140,7 +140,7 @@ class DiscourseUpdater(commands.Cog):
"""
tag_name = "docs"
logger.info("Fetching Discourse data...")
cooked_posts = fetch_cooked_posts(tag_name)
cooked_posts = await fetch_cooked_posts(tag_name)
if cooked_posts:
combined_text = combine_posts_text(
[{"cooked": post} for post in cooked_posts]