mirror of https://github.com/BOINC/boinc.git
- client: report results if CPU suspend pending in next 30 min
svn path=/trunk/boinc/; revision=25492
This commit is contained in:
parent
d3f2d6318f
commit
8ebe90fbe3
|
@ -3048,3 +3048,9 @@ David 26 Mar 2012
|
||||||
|
|
||||||
sched/
|
sched/
|
||||||
sched_version.cpp
|
sched_version.cpp
|
||||||
|
|
||||||
|
David 26 Mar 2012
|
||||||
|
- client: report results if CPU suspend pending in next 30 min
|
||||||
|
|
||||||
|
client/
|
||||||
|
cs_scheduler.cpp
|
||||||
|
|
|
@ -440,8 +440,9 @@ bool CLIENT_STATE::scheduler_rpc_poll() {
|
||||||
|
|
||||||
// report overdue results
|
// report overdue results
|
||||||
//
|
//
|
||||||
bool network_suspend_soon = global_prefs.net_times.suspended(now + 1800);
|
bool suspend_soon = global_prefs.net_times.suspended(now + 1800);
|
||||||
p = find_project_with_overdue_results(network_suspend_soon);
|
suspend_soon |= global_prefs.cpu_times.suspended(now + 1800);
|
||||||
|
p = find_project_with_overdue_results(suspend_soon);
|
||||||
if (p && !actively_uploading(p)) {
|
if (p && !actively_uploading(p)) {
|
||||||
work_fetch.compute_work_request(p);
|
work_fetch.compute_work_request(p);
|
||||||
scheduler_op->init_op_project(p, RPC_REASON_RESULTS_DUE);
|
scheduler_op->init_op_project(p, RPC_REASON_RESULTS_DUE);
|
||||||
|
|
Loading…
Reference in New Issue