From d8a60fbf378930b687b115ab4d01d511d97276b9 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 3 Mar 2009 16:46:47 +0000 Subject: [PATCH] - scheduler: don't need to set wreq->infeasible_only in send_work() svn path=/trunk/boinc/; revision=17446 --- checkin_notes | 6 ++++++ sched/sched_send.cpp | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index f8da327774..0c6f2a52c1 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2545,3 +2545,9 @@ David 3 Mar 2009 sched_locality.cpp sched_resend.cpp sched_send.cpp,h + +David 3 Mar 2009 + - scheduler: don't need to set wreq->infeasible_only in send_work() + + sched/ + sched_send.cpp diff --git a/sched/sched_send.cpp b/sched/sched_send.cpp index f3df2771eb..85b4ae9632 100644 --- a/sched/sched_send.cpp +++ b/sched/sched_send.cpp @@ -1488,12 +1488,12 @@ static void send_work_old() { g_wreq->no_jobs_available = true; g_wreq->beta_only = false; g_wreq->user_apps_only = true; + g_wreq->infeasible_only = false; // give top priority to results that require a 'reliable host' // if (g_wreq->reliable) { g_wreq->reliable_only = true; - g_wreq->infeasible_only = false; scan_work_array(); } g_wreq->reliable_only = false; @@ -1674,7 +1674,6 @@ void send_work() { send_work_locality(); } } else if (config.locality_scheduling) { - g_wreq->infeasible_only = false; send_work_locality(); } else if (config.matchmaker) { send_work_matchmaker();