Write to logs a bit less often

svn path=/trunk/boinc/; revision=4793
This commit is contained in:
Bruce Allen 2004-12-08 11:59:31 +00:00
parent 92b84e9796
commit 10ce5e6759
1 changed files with 6 additions and 4 deletions

View File

@ -449,10 +449,6 @@ bool do_pass() {
if (max_wu_per_file && wu_stored_in_file>=max_wu_per_file) {
close_all_archives();
wu_stored_in_file=0;
} else {
log_messages.printf(SCHED_MSG_LOG::DEBUG,
"Currently open archive file contains %d workunits\n",
wu_stored_in_file);
}
if (max_number_workunits_to_purge>=0 && purged_workunits >= max_number_workunits_to_purge)
@ -465,6 +461,12 @@ bool do_pass() {
do_pass_purged_workunits,do_pass_purged_results
);
if (wu_stored_in_file>0) {
log_messages.printf(SCHED_MSG_LOG::DEBUG,
"Currently open archive files contain %d workunits\n",
wu_stored_in_file);
}
return did_something;
}