mirror of https://github.com/BOINC/boinc.git
result summary on admin web
svn path=/trunk/boinc/; revision=1386
This commit is contained in:
parent
f3767bb6b8
commit
c4ecb8b7fe
|
@ -174,6 +174,7 @@ void handle_wu(DB_WORKUNIT& wu) {
|
||||||
// clean up any incomplete uploads
|
// clean up any incomplete uploads
|
||||||
result.file_delete_state = FILE_DELETE_READY;
|
result.file_delete_state = FILE_DELETE_READY;
|
||||||
result.server_state = RESULT_SERVER_STATE_OVER;
|
result.server_state = RESULT_SERVER_STATE_OVER;
|
||||||
|
result.received_time = time(0);
|
||||||
result.outcome = RESULT_OUTCOME_NO_REPLY;
|
result.outcome = RESULT_OUTCOME_NO_REPLY;
|
||||||
result.update();
|
result.update();
|
||||||
}
|
}
|
||||||
|
@ -219,6 +220,7 @@ void handle_wu(DB_WORKUNIT& wu) {
|
||||||
result = results[i];
|
result = results[i];
|
||||||
if (result.server_state == RESULT_SERVER_STATE_UNSENT) {
|
if (result.server_state == RESULT_SERVER_STATE_UNSENT) {
|
||||||
result.server_state = RESULT_SERVER_STATE_OVER;
|
result.server_state = RESULT_SERVER_STATE_OVER;
|
||||||
|
result.received_time = time(0);
|
||||||
result.outcome = RESULT_OUTCOME_DIDNT_NEED;
|
result.outcome = RESULT_OUTCOME_DIDNT_NEED;
|
||||||
result.update();
|
result.update();
|
||||||
}
|
}
|
||||||
|
@ -367,7 +369,7 @@ int main(int argc, char** argv) {
|
||||||
|
|
||||||
// Call lock_file after fork(), because file locks are not always inherited
|
// Call lock_file after fork(), because file locks are not always inherited
|
||||||
if (lock_file(LOCKFILE)) {
|
if (lock_file(LOCKFILE)) {
|
||||||
write_log("Another copy of timeout_check is already running\n", MSG_NORMAL);
|
fprintf(stderr, "Another copy of timeout_check is already running\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue