From c5dffd33685bfe04ee360f6674b44c6f49376c65 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 23 Jun 2022 02:37:03 +0200 Subject: [PATCH] double viewmore threshold --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index fbe542042..50f63e080 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -216,7 +216,7 @@ def post_id(pid, anything=None, v=None, sub=None): comments2.append(comment) ids.add(comment.id) count += g.db.query(Comment).filter_by(parent_submission=post.id, top_comment_id=comment.id).count() + 1 - if count > 50: break + if count > 100: break else: for comment in comments: comments2.append(comment)