reduce itemspage for better interactive performance

This commit is contained in:
friendica
2013-02-10 17:10:58 -08:00
parent 90c1ecca24
commit 27c9288add
2 changed files with 3 additions and 3 deletions

View File

@@ -561,7 +561,7 @@ function network_content(&$a, $update = 0, $load = false) {
}
else {
$itemspage = get_pconfig(local_user(),'system','itemspage');
$a->set_pager_itemspage(((intval($itemspage)) ? $itemspage : 30));
$a->set_pager_itemspage(((intval($itemspage)) ? $itemspage : 20));
$pager_sql = sprintf(" LIMIT %d, %d ",intval($a->pager['start']), intval($a->pager['itemspage']));
}