mirror of https://github.com/BOINC/boinc.git
- web: when displaying a user's posts, limit the query to 1000
so the page doesn't exceed CPU limit svn path=/trunk/boinc/; revision=24127
This commit is contained in:
parent
3eabc15a84
commit
60f0b3ed4e
|
@ -5582,3 +5582,10 @@ David 2 Sept 2011
|
|||
lib/
|
||||
proc_control.cpp
|
||||
procinfo_win.cpp
|
||||
|
||||
David 2 Sept 2011
|
||||
- web: when displaying a user's posts, limit the query to 1000
|
||||
so the page doesn't exceed CPU limit
|
||||
|
||||
html/user/
|
||||
forum_user_posts.php
|
||||
|
|
|
@ -72,7 +72,7 @@ if ($logged_in_user) {
|
|||
}
|
||||
page_head(tra("Posts by %1", $user->name));
|
||||
|
||||
$posts = BoincPost::enum("user=$userid order by id desc");
|
||||
$posts = BoincPost::enum("user=$userid order by id desc limit 1000");
|
||||
$n = 0;
|
||||
start_table();
|
||||
$options = get_output_options($logged_in_user);
|
||||
|
|
Loading…
Reference in New Issue