mirror of https://github.com/BOINC/boinc.git
- client: show project name in "backoff ended" msg
svn path=/trunk/boinc/; revision=17719
This commit is contained in:
parent
c49391fa52
commit
b3f07e1a0c
|
@ -3517,3 +3517,11 @@ Charlie 1 Apr 2009
|
|||
mac_build/
|
||||
boinc.xcodeproj/
|
||||
project.pbxproj
|
||||
|
||||
David 1 Apr 2009
|
||||
- client: show project name in "backoff ended" msg
|
||||
|
||||
client/
|
||||
app.cpp
|
||||
cpu_sched.cpp
|
||||
cs_scheduler.cpp
|
||||
|
|
|
@ -610,7 +610,7 @@ int ACTIVE_TASK::parse(MIOFILE& fin) {
|
|||
if (!project) {
|
||||
msg_printf(
|
||||
NULL, MSG_INTERNAL_ERROR,
|
||||
"State file error: project %s not found\n",
|
||||
"State file error: project %s not found for task\n",
|
||||
project_master_url
|
||||
);
|
||||
return ERR_NULL;
|
||||
|
@ -619,7 +619,7 @@ int ACTIVE_TASK::parse(MIOFILE& fin) {
|
|||
if (!result) {
|
||||
msg_printf(
|
||||
project, MSG_INTERNAL_ERROR,
|
||||
"State file error: result %s not found\n",
|
||||
"State file error: result %s not found for task\n",
|
||||
result_name
|
||||
);
|
||||
return ERR_NULL;
|
||||
|
|
|
@ -64,7 +64,9 @@ using std::vector;
|
|||
#define DEADLINE_CUSHION 0
|
||||
// try to finish jobs this much in advance of their deadline
|
||||
|
||||
bool COPROCS::sufficient_coprocs(COPROCS& needed, bool log_flag, const char* prefix) {
|
||||
bool COPROCS::sufficient_coprocs(
|
||||
COPROCS& needed, bool log_flag, const char* prefix
|
||||
) {
|
||||
for (unsigned int i=0; i<needed.coprocs.size(); i++) {
|
||||
COPROC* cp = needed.coprocs[i];
|
||||
COPROC* cp2 = lookup(cp->type);
|
||||
|
|
|
@ -967,7 +967,9 @@ void CLIENT_STATE::check_project_timeout() {
|
|||
PROJECT* p = projects[i];
|
||||
if (p->possibly_backed_off && now > p->min_rpc_time) {
|
||||
p->possibly_backed_off = false;
|
||||
request_work_fetch("Project backoff ended");
|
||||
char buf[256];
|
||||
sprintf(buf, "Backoff ended for %s", p->get_project_name());
|
||||
request_work_fetch(buf);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue