case sm_SEPARATED:
case sm_DROPPING:
- warn("abandoning old feedfile after flush (%s), autodeferring",
- why ? why : "took too long to complete");
+ if (conns.count)
+ warn("abandoning old feedfile after flush (%s), autodeferring",
+ why ? why : "took too long to complete");
+ else
+ info("autodeferring after flush (%s)",
+ why ? why : "no connections");
assert(flushing_input_file);
autodefer_input_file(flushing_input_file);
return 1;
? xasprintf(" autodeferred=%ld", ipf_xtra->autodefer)
: xasprintf("%s","");
- info("%s %s read=%d (+bl=%d,+err=%d)%s%s"
+ notice("%s %s read=%d (+bl=%d,+err=%d)%s%s"
" missing=%d offered=%d (ch=%d,nc=%d) accepted=%d (ch=%d,nc=%d)"
RESULT_COUNTS(RCI_NOTHING, RCI_TRIPLE_FMT)
,
InputFile *ipf= backlog_input_file;
if (!inputfile_is_done(ipf)) return;
+ dbg("backlog file %p %s complete", ipf, ipf->path);
backlog_accumulate_counts(ipf);
close_input_file(ipf);
if (unlink(ipf->path)) {
assert(sms==sm_SEPARATED || sms==sm_DROPPING);
- notice_processed_inputfile(ipf,1,"feedfile");
+ notice_processed_inputfile(ipf,1,"batch");
close_defer();
}
void showstats(void) {
+ notice_conns_stats();
notice_processed_inputfile(main_input_file, 0, "feedfile");
notice_processed_inputfile(flushing_input_file, 0, "flushing");