mirror of https://github.com/BOINC/boinc.git
- client: don't start new network activity if CPU benchmarks in progress
svn path=/trunk/boinc/; revision=20798
This commit is contained in:
parent
4f067e2a44
commit
3b1cc344f4
|
@ -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
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue