mirror of https://github.com/BOINC/boinc.git
parent
78e7500deb
commit
87e1ac73fc
|
@ -270,9 +270,9 @@ int CLIENT_STATE::check_time_tests() {
|
||||||
int retval, exit_code = 0;
|
int retval, exit_code = 0;
|
||||||
retval = waitpid(time_tests_id, &exit_code, WNOHANG);
|
retval = waitpid(time_tests_id, &exit_code, WNOHANG);
|
||||||
if(retval == 0) {
|
if(retval == 0) {
|
||||||
if(time(NULL) > time_tests_start + MAX_TIME_TESTS_SECONDS) {
|
if((unsigned int)time(NULL) > time_tests_start + MAX_TIME_TESTS_SECONDS) {
|
||||||
show_message("Time tests timed out, using default values", "low");
|
show_message("Time tests timed out, using default values", "low");
|
||||||
kill(pid, SIGKILL);
|
kill(time_tests_id, SIGKILL);
|
||||||
host_info.p_fpops = 1e9;
|
host_info.p_fpops = 1e9;
|
||||||
host_info.p_iops = 1e9;
|
host_info.p_iops = 1e9;
|
||||||
host_info.p_membw = 4e9;
|
host_info.p_membw = 4e9;
|
||||||
|
|
Loading…
Reference in New Issue