mirror of https://github.com/BOINC/boinc.git
- scheduler: <max_wus_in_progress> option wasn't working,
because the reply.req structure was getting zeroed AFTER nresults_on_host was being set. svn path=/trunk/boinc/; revision=13712
This commit is contained in:
parent
89842eca33
commit
a1590ff580
|
@ -8929,4 +8929,12 @@ Charlie 28 Sep 2007
|
|||
|
||||
api/
|
||||
graphics2_unix.C
|
||||
|
||||
|
||||
David 28 Sept 2007
|
||||
- scheduler: <max_wus_in_progress> option wasn't working,
|
||||
because the reply.req structure was getting zeroed
|
||||
AFTER nresults_on_host was being set.
|
||||
|
||||
sched/
|
||||
handle_request.C
|
||||
sched_send.C
|
||||
|
|
|
@ -10,16 +10,6 @@
|
|||
// 7 unix date
|
||||
|
||||
$win = array(
|
||||
array(
|
||||
'http://www.skipsjunk.com/info/boincdv.html',
|
||||
'BOINC Debt Viewer',
|
||||
'0.3.06',
|
||||
'BOINC Debt Viewer is a small utility that displays the debt values for each project on a a BOINC host',
|
||||
'http://www.skipsjunk.com/info/boincdv.html',
|
||||
'Windows',
|
||||
'',
|
||||
1168202706
|
||||
),
|
||||
array(
|
||||
'http://www.weebl00.nl/leiterow/zowtar/BOINC/',
|
||||
'BOINC mIRC',
|
||||
|
|
|
@ -160,7 +160,8 @@ echo "
|
|||
";
|
||||
|
||||
language("Belgium (Dutch/French/English)", array(
|
||||
site("http://www.boinc.be", "www.boinc.be")
|
||||
site("http://www.boinc.be", "www.boinc.be"),
|
||||
seti("http://icewolves.plid.be", "IceWolves"),
|
||||
));
|
||||
language("Catalan", array(
|
||||
site("http://www.boinc.cat", "BOINC.cat"),
|
||||
|
|
|
@ -1232,6 +1232,8 @@ void process_request(
|
|||
HOST initial_host;
|
||||
unsigned int i;
|
||||
|
||||
memset(&reply.wreq, 0, sizeof(reply.wreq));
|
||||
|
||||
// if different major version of BOINC, just send a message
|
||||
//
|
||||
if (wrong_core_client_version(sreq, reply)
|
||||
|
|
|
@ -718,6 +718,7 @@ bool SCHEDULER_REPLY::work_needed(bool locality_sched) {
|
|||
}
|
||||
}
|
||||
|
||||
fprintf(stderr, "mwip %d nroh %d\n", config.max_wus_in_progress, wreq.nresults_on_host);
|
||||
if (config.max_wus_in_progress) {
|
||||
if (wreq.nresults_on_host >= config.max_wus_in_progress) {
|
||||
log_messages.printf(
|
||||
|
@ -908,7 +909,6 @@ void send_work(
|
|||
) {
|
||||
char helpful[512];
|
||||
|
||||
memset(&reply.wreq, 0, sizeof(reply.wreq));
|
||||
reply.wreq.disk_available = max_allowable_disk(sreq, reply);
|
||||
reply.wreq.core_client_version = sreq.core_client_major_version*100
|
||||
+ sreq.core_client_minor_version;
|
||||
|
|
Loading…
Reference in New Issue