- client: don't consider a result "nearly runnable"

if one of its downloads is stalled.
    This fixes a situation that can cause processor or GPU
    idleness when download servers are down for a while


svn path=/trunk/boinc/; revision=21877
This commit is contained in:
David Anderson 2010-07-06 20:53:27 +00:00
parent 4852583dc8
commit eca79028cc
2 changed files with 11 additions and 0 deletions

View File

@ -4939,3 +4939,13 @@ Rom 6 July 2010
clientgui/
NoticeListCtrl.cpp, .h
David 6 Jul 2010
- client: don't consider a result "nearly runnable"
if one of its downloads is stalled.
This fixes a situation that can cause processor or GPU
idleness when download servers are down for a while
client/
work_fetch.cpp

View File

@ -1273,6 +1273,7 @@ bool RESULT::downloading() {
if (suspended_via_gui) return false;
if (project->suspended_via_gui) return false;
if (state() > RESULT_FILES_DOWNLOADING) return false;
if (some_download_stalled()) return false;
return true;
}