client: allow initial scheduler request to request N instances.

I made a change on 27 Feb 2009 that set the initial request to 0 instances.
I'm not sure what the rationale was - the checkin note didn't say.
This commit is contained in:
David Anderson 2015-06-21 00:40:01 -07:00
parent 23b8e45aeb
commit 5226d620d0
1 changed files with 2 additions and 3 deletions

View File

@ -906,8 +906,8 @@ void WORK_FETCH::handle_reply(
} }
// set up for initial RPC. // set up for initial RPC.
// arrange to always get one job, even if we don't need it or can't handle it. // Ask for just 1 job per instance,
// (this is probably what user wants) // since we don't have good runtime estimates yet
// //
void WORK_FETCH::set_initial_work_request(PROJECT* p) { void WORK_FETCH::set_initial_work_request(PROJECT* p) {
for (int i=0; i<coprocs.n_rsc; i++) { for (int i=0; i<coprocs.n_rsc; i++) {
@ -918,7 +918,6 @@ void WORK_FETCH::set_initial_work_request(PROJECT* p) {
rsc_work_fetch[i].req_secs = 0; rsc_work_fetch[i].req_secs = 0;
} }
} }
rsc_work_fetch[i].req_instances = 0;
rsc_work_fetch[i].busy_time_estimator.reset(); rsc_work_fetch[i].busy_time_estimator.reset();
} }
} }