Skip to content
Snippets Groups Projects
Commit f31b19b3 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

[BW]: Updated get_content_replies limit value

parent e1b117d3
No related branches found
No related tags found
1 merge request!6[BW]: Fixed performance problem on get_content_replies query leading hivemind...
...@@ -129,7 +129,7 @@ async def get_content_replies(context, author: str, permlink: str): ...@@ -129,7 +129,7 @@ async def get_content_replies(context, author: str, permlink: str):
) )
ORDER BY post_id""" ORDER BY post_id"""
result=await db.query_all(sql, author=author, permlink = permlink, limit=1000) result=await db.query_all(sql, author=author, permlink = permlink, limit=5000)
posts = await resultset_to_posts(db=db, resultset=result, truncate_body=0) posts = await resultset_to_posts(db=db, resultset=result, truncate_body=0)
return posts return posts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment