scheduler: add stub code for debugging a particular user or host, for Rytis

This commit is contained in:
David Anderson 2014-05-09 01:06:37 -07:00
parent 3c64bbb837
commit af5d5b35f2
1 changed files with 11 additions and 0 deletions

View File

@ -1187,6 +1187,17 @@ void process_request(char* code_sign_key) {
log_request();
#if 0
// if you need to debug a problem w/ a particular host or user,
// edit the following
//
if (g_reply->user.id == XX || g_reply.host.id == YY) {
config.sched_debug_level = 3;
config.debug_send = true;
...
}
#endif
// is host blacklisted?
//
if (g_reply->host._max_results_day == -1) {