diff options
Diffstat (limited to 'cgi/post.py')
-rw-r--r-- | cgi/post.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/post.py b/cgi/post.py index a34bb39..e8c6444 100644 --- a/cgi/post.py +++ b/cgi/post.py @@ -256,7 +256,7 @@ def regenerateFrontPages(): posts_to_fetch = 0 for t in allthreads[:threads_to_fetch]: posts_to_fetch += int(t["length"]) - more_threads = allthreads[threads_to_fetch:50] + more_threads = allthreads[threads_to_fetch:40] # get the needed posts for the front page and order them posts_query = "SELECT * FROM `posts` WHERE `boardid` = %s ORDER BY `bumped` DESC, CASE parentid WHEN 0 THEN id ELSE parentid END ASC, `id` ASC LIMIT %s" |