mirror of https://github.com/BOINC/boinc.git
- client: set PROJECT::last_upload_start whenever an upload starts,
not just when a result becomes ready to upload. Fix bug where a scheduler RPC to report results is done even though uploads are active. - client: cpu_sched_debug enables messages about not scheduling jobs because of insufficient RAM svn path=/trunk/boinc/; revision=25493
This commit is contained in:
parent
8ebe90fbe3
commit
6498b0bba2
|
@ -3054,3 +3054,15 @@ David 26 Mar 2012
|
|||
|
||||
client/
|
||||
cs_scheduler.cpp
|
||||
|
||||
David 26 Mar 2012
|
||||
- client: set PROJECT::last_upload_start whenever an upload starts,
|
||||
not just when a result becomes ready to upload.
|
||||
Fix bug where a scheduler RPC to report results is done
|
||||
even though uploads are active.
|
||||
- client: cpu_sched_debug enables messages about not scheduling jobs
|
||||
because of insufficient RAM
|
||||
|
||||
client/
|
||||
pers_file_xfer.cpp
|
||||
cpu_sched.cpp
|
||||
|
|
|
@ -1620,9 +1620,9 @@ bool CLIENT_STATE::enforce_run_list(vector<RESULT*>& run_list) {
|
|||
if (atp) {
|
||||
atp->too_large = true;
|
||||
}
|
||||
if (log_flags.mem_usage_debug) {
|
||||
if (log_flags.cpu_sched_debug || log_flags.mem_usage_debug) {
|
||||
msg_printf(rp->project, MSG_INFO,
|
||||
"[mem_usage] enforce: result %s can't run, too big %.2fMB > %.2fMB",
|
||||
"[cpu_sched_debug] enforce: result %s can't run, too big %.2fMB > %.2fMB",
|
||||
rp->name, wss/MEGA, ram_left/MEGA
|
||||
);
|
||||
}
|
||||
|
|
|
@ -166,6 +166,9 @@ int PERS_FILE_XFER::create_xfer() {
|
|||
ul.get_current_url(*fip)
|
||||
);
|
||||
}
|
||||
if (is_upload) {
|
||||
fip->project->last_upload_start = gstate.now;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue