svn path=/trunk/boinc/; revision=15922

This commit is contained in:
David Anderson 2008-08-22 04:50:30 +00:00
parent 1d99bfec2b
commit 0de5ee8714
1 changed files with 14 additions and 1 deletions

View File

@ -418,7 +418,20 @@ void ACTIVE_TASK_SET::send_heartbeats() {
"<max_wss>%f</max_wss>",
atp->procinfo.working_set_size, ar
);
atp->app_client_shm.shm->heartbeat.send_msg(buf);
bool sent = atp->app_client_shm.shm->heartbeat.send_msg(buf);
if (log_flags.app_msg_send) {
if (sent) {
msg_printf(atp->result->project, MSG_INFO,
"[app_msg_send] sent heartbeat to %s",
atp->result->name
);
} else {
msg_printf(atp->result->project, MSG_INFO,
"[app_msg_send] failed to send heartbeat to %s",
atp->result->name
);
}
}
}
}