mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2385
This commit is contained in:
parent
74eba475cc
commit
4545637530
|
@ -236,7 +236,7 @@ struct RESULT {
|
|||
bool got_server_ack;
|
||||
// we're received the ack for this result from the server
|
||||
double final_cpu_time;
|
||||
int state; // state of this result, see above
|
||||
int state; // state of this result, see lib/result_state.h
|
||||
int exit_status; // return value from the application
|
||||
int signal; // the signal caught by the active_task,
|
||||
// defined only if active_task_state is PROCESS_SIGNALED
|
||||
|
|
|
@ -160,11 +160,15 @@ int SCHEDULER_OP::set_min_rpc_time(PROJECT* p) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
// Back off on the scheduler and output an error msg if needed
|
||||
// Back off contacting scheduler and output an error msg if needed
|
||||
//
|
||||
void SCHEDULER_OP::backoff(PROJECT* p, char *error_msg ) {
|
||||
msg_printf(p, MSG_ERROR, error_msg);
|
||||
|
||||
// Don't back off more if already backed off
|
||||
//
|
||||
if (p->min_rpc_time > 0) return;
|
||||
|
||||
if (p->master_fetch_failures >= gstate.master_fetch_retry_cap) {
|
||||
p->master_url_fetch_pending = true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue