mirror of https://github.com/BOINC/boinc.git
Break out of deterministic search if no work needed because we have
(for example) violated cpu, disk or mem limits. svn path=/trunk/boinc/; revision=5488
This commit is contained in:
parent
bca7853358
commit
f27abb4ea9
|
@ -630,7 +630,7 @@ static int send_new_file_work_deterministic_seeded(
|
|||
retval = send_results_for_file(
|
||||
filename, nsent, sreq, reply, platform, ss, false
|
||||
);
|
||||
if (nsent>0) break;
|
||||
if (nsent>0 || !reply.work_needed(true)) break;
|
||||
// construct a name which is lexically greater than the name of any result
|
||||
// which uses this file.
|
||||
sprintf(min_resultname, "%s__~", filename);
|
||||
|
|
Loading…
Reference in New Issue