diff --git a/checkin_notes b/checkin_notes index 555b81c482..7ec8779cb9 100755 --- a/checkin_notes +++ b/checkin_notes @@ -6966,3 +6966,10 @@ Charlie 27 June 2006 mac_build/ boinc.xcodeproj/ project.pbxproj + +David 27 June 2006 + - CPU sched fix (minutes*60) + From John McLeod + + client/ + cpu_sched.C diff --git a/client/cpu_sched.C b/client/cpu_sched.C index 6d7f5c7e90..cc8c389b29 100644 --- a/client/cpu_sched.C +++ b/client/cpu_sched.C @@ -585,7 +585,7 @@ bool CLIENT_STATE::enforce_schedule() { atp = running_tasks[0]; bool running_beyond_sched_period = gstate.now - atp->episode_start_wall_time - > gstate.global_prefs.cpu_scheduling_period_minutes; + > gstate.global_prefs.cpu_scheduling_period_minutes*60; bool checkpointed_recently = atp->checkpoint_wall_time > atp->episode_start_wall_time; if (rp->project->deadlines_missed