diff --git a/checkin_notes b/checkin_notes index b15f136513..90dc925359 100644 --- a/checkin_notes +++ b/checkin_notes @@ -7772,7 +7772,7 @@ David 16 Sept 2009 client/ log_flags.cpp,h - schedule_op.cpp + scheduler_op.cpp Charlie 17 Sept 2009 - Mac installer: create a new command-line tool AddRemoveUser to add users @@ -7786,3 +7786,9 @@ Charlie 17 Sept 2009 mac_build/ boinc.xcodeproj/ project.pbxproj + +David 17 Sept 2009 + - client: if project-supplied backoff > 28 days, cap rather than ignore + + client/ + scheduler_op.cpp diff --git a/client/scheduler_op.cpp b/client/scheduler_op.cpp index 8ad668ec10..ad4e2dc7a3 100644 --- a/client/scheduler_op.cpp +++ b/client/scheduler_op.cpp @@ -834,15 +834,15 @@ int SCHEDULER_REPLY::parse(FILE* in, PROJECT* project) { if (!retval) auto_update.present = true; #endif } else if (parse_double(buf, "", cpu_backoff)) { - if (cpu_backoff > 28*SECONDS_PER_DAY) cpu_backoff = 0; + if (cpu_backoff > 28*SECONDS_PER_DAY) cpu_backoff = 28*SECONDS_PER_DAY; if (cpu_backoff < 0) cpu_backoff = 0; continue; } else if (parse_double(buf, "", cuda_backoff)) { - if (cuda_backoff > 28*SECONDS_PER_DAY) cuda_backoff = 0; + if (cuda_backoff > 28*SECONDS_PER_DAY) cuda_backoff = 28*SECONDS_PER_DAY; if (cuda_backoff < 0) cuda_backoff = 0; continue; } else if (parse_double(buf, "", ati_backoff)) { - if (ati_backoff > 28*SECONDS_PER_DAY) ati_backoff = 0; + if (ati_backoff > 28*SECONDS_PER_DAY) ati_backoff = 28*SECONDS_PER_DAY; if (ati_backoff < 0) ati_backoff = 0; continue; } else if (match_tag(buf, "