diff --git a/server/handlers/post.py b/server/handlers/post.py index 7f9f57e..ca366bc 100644 --- a/server/handlers/post.py +++ b/server/handlers/post.py @@ -28,7 +28,7 @@ async def render_postleter(limit: int = 30, as_html: bool = False): outlet_posts_list = [] for post_id in random_post_id_list: try: - post = MediumParser(post_id, timeout=config.TIMEOUT, host_address=config.HOST_ADDRESS, auth_cookies=config.MEDIUM_AUTH_COOKIES) + post = MediumParser(post_id, timeout=3, host_address=config.HOST_ADDRESS, auth_cookies=config.MEDIUM_AUTH_COOKIES) await post.query(force_cache=True, retry=1) post_metadata = await post.generate_metadata(as_dict=True) outlet_posts_list.append(post_metadata)