get host info more often

svn path=/trunk/boinc/; revision=9250
This commit is contained in:
David Anderson 2006-01-16 20:08:50 +00:00
parent 425e74453b
commit 97880fc694
2 changed files with 9 additions and 3 deletions

View File

@ -508,8 +508,14 @@ Bruce 16 Jan 2006
user/ user/
host_delete.php host_delete.php
David 15 Jan 2006 David 16 Jan 2006
- compile fix for Win - compile fix for Win
client/ client/
gui_rpc_server.C gui_rpc_server.C
David 16 Jan 2006
- Call get_host_info() (not just get_filesystem_info())
before each scheduler RPC (from Bruce Allen)
client/
cs_scheduler.C

View File

@ -322,9 +322,9 @@ int CLIENT_STATE::make_scheduler_request(PROJECT* p) {
retval = net_stats.write(mf); retval = net_stats.write(mf);
if (retval) return retval; if (retval) return retval;
// update disk usage, and write host info // update hardware info, and write host info
// //
get_filesystem_info(host_info.d_total, host_info.d_free); host_info.get_host_info();
retval = host_info.write(mf); retval = host_info.write(mf);
if (retval) return retval; if (retval) return retval;