- client: print #CPUs if not all

svn path=/trunk/boinc/; revision=16270
This commit is contained in:
David Anderson 2008-10-22 22:25:16 +00:00
parent 760cd90c7b
commit 882c0cde50
1 changed files with 5 additions and 0 deletions

View File

@ -412,6 +412,11 @@ void CLIENT_STATE::read_global_prefs() {
// max_cpus, bandwidth limits may have changed
//
set_ncpus();
if (ncpus != host_info.p_ncpus) {
msg_printf(NULL, MSG_INFO,
"Preferences limit # CPUs to %d", ncpus
);
}
file_xfers->set_bandwidth_limits(true);
file_xfers->set_bandwidth_limits(false);
request_schedule_cpus("Prefs update");