- client: don't start new network activity if CPU benchmarks in progress

svn path=/trunk/boinc/; revision=20798
This commit is contained in:
David Anderson 2010-03-04 22:51:03 +00:00
parent 4f067e2a44
commit 3b1cc344f4
2 changed files with 8 additions and 1 deletions

View File

@ -1657,3 +1657,9 @@ Rom 4 Mar 2010
clientgui/
AdvancedFrame.cpp
Events.h
David 4 Mar 2010
- client: don't start new network activity if CPU benchmarks in progress
client/
client_state.cpp

View File

@ -684,7 +684,8 @@ bool CLIENT_STATE::poll_slow_events() {
POLL_ACTION(garbage_collect , garbage_collect );
POLL_ACTION(gui_http , gui_http.poll );
POLL_ACTION(gui_rpc_http , gui_rpcs.poll );
if (!network_suspended) {
if (!network_suspended && suspend_reason != SUSPEND_REASON_BENCHMARKS) {
// don't initiate network activity if we're doing CPU benchmarks
net_status.poll();
POLL_ACTION(acct_mgr , acct_mgr_info.poll );
POLL_ACTION(file_xfers , file_xfers->poll );