mirror of https://github.com/BOINC/boinc.git
- client: a few more network_status_debug messages
client/ client_state.C net_stats.C svn path=/trunk/boinc/; revision=12805
This commit is contained in:
parent
60f3e05410
commit
c02a7d30fe
|
@ -5681,4 +5681,11 @@ David 1 June 2007
|
|||
|
||||
lib/
|
||||
diagnostics_sin.h
|
||||
procinfo.h
|
||||
procinfo.h
|
||||
|
||||
David 1 June 2007
|
||||
- client: a few more network_status_debug messages
|
||||
|
||||
client/
|
||||
client_state.C
|
||||
net_stats.C
|
||||
|
|
|
@ -442,6 +442,12 @@ bool CLIENT_STATE::poll_slow_events() {
|
|||
|
||||
now = dtime();
|
||||
if (now - old_now > POLL_INTERVAL*10) {
|
||||
if (log_flags.network_status_debug) {
|
||||
msg_printf(0, MSG_INFO,
|
||||
"[network_status_debug] woke up after %f seconds",
|
||||
now - old_now
|
||||
);
|
||||
}
|
||||
last_wakeup_time = now;
|
||||
}
|
||||
|
||||
|
|
|
@ -222,6 +222,11 @@ void NET_STATUS::got_http_error() {
|
|||
// for 30 seconds after wakeup, the network system (DNS etc.)
|
||||
// may still be coming up, so don't worry for now
|
||||
) {
|
||||
if (log_flags.network_status_debug) {
|
||||
msg_printf(0, MSG_INFO,
|
||||
"[network_status_debug] got http error and not still waking up"
|
||||
);
|
||||
}
|
||||
need_to_contact_reference_site = true;
|
||||
show_ref_message = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue