From 84daf8bd0401c27a2513065087c61eeaac173cfe Mon Sep 17 00:00:00 2001 From: trisua Date: Tue, 10 Jun 2025 15:26:03 -0400 Subject: [PATCH] fix: use a pool of 48 posts for gpa --- crates/core/src/database/posts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core/src/database/posts.rs b/crates/core/src/database/posts.rs index aa0265c..824d600 100644 --- a/crates/core/src/database/posts.rs +++ b/crates/core/src/database/posts.rs @@ -563,7 +563,7 @@ impl DataManager { let res = query_rows!( &conn, - &format!("SELECT * FROM posts WHERE owner = $1 ORDER BY created DESC LIMIT 12"), + &format!("SELECT * FROM posts WHERE owner = $1 ORDER BY created DESC LIMIT 48"), &[&(id as i64)], |x| { Self::get_post_from_row(x) } );