scheduler:

some more debug output (locality scheduler)
This commit is contained in:
Bernd Machenschalk 2013-02-19 08:50:47 +00:00 committed by Bernd Machenschalk
parent ea76a6da30
commit 1d911e9283
1 changed files with 13 additions and 0 deletions

View File

@ -555,9 +555,22 @@ static int send_results_for_file(
nsent = 0;
if (!work_needed(true)) {
if (config.debug_locality) {
log_messages.printf(MSG_NORMAL,
"[locality] send_results_for_file(): No work needed\n"
);
}
return 0;
} else {
if (config.debug_locality) {
log_messages.printf(MSG_NORMAL,
"[locality] send_results_for_file(%s)\n",
filename
);
}
}
// find largest ID of results already sent to this user for this
// file, if any. Any result that is sent will have userid field
// set, so unsent results can not be returned by this query.