fix: use a pool of 48 posts for gpa
This commit is contained in:
parent
f034cc4f27
commit
84daf8bd04
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ impl DataManager {
|
||||||
|
|
||||||
let res = query_rows!(
|
let res = query_rows!(
|
||||||
&conn,
|
&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)],
|
&[&(id as i64)],
|
||||||
|x| { Self::get_post_from_row(x) }
|
|x| { Self::get_post_from_row(x) }
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue