- scheduler: don't need to set wreq->infeasible_only in send_work()

svn path=/trunk/boinc/; revision=17446
This commit is contained in:
David Anderson 2009-03-03 16:46:47 +00:00
parent 33d5a81cf6
commit d8a60fbf37
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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();