~ubuntu-branches/debian/stretch/apt-cacher-ng/stretch

« back to all changes in this revision

Viewing changes to source/cleaner.cc

  • Committer: Package Import Robot
  • Author(s): Eduard Bloch
  • Date: 2015-09-21 21:35:41 UTC
  • mfrom: (1.6.28)
  • Revision ID: package-import@ubuntu.com-20150921213541-rh3tsf8k2g2n0fdr
Tags: 0.8.6-1
* New upstream version
  + replaces the expiration call mechanism and script with native
    implementation (closes: 794328)
* Changed error log rotation schedule to daily execution (to expire some
  cruft from ancient bugs sooner or later)
* removed urlencode-fixer.pl (should be obsolete now), expire-caller.pl
  (symlink to acngtool which emulates it)

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
                        break;
70
70
 
71
71
                case TYPE_EXCONNS:
72
 
                        time_nextcand = tcpconnect::BackgroundCleanup();
 
72
                        time_nextcand = g_tcp_con_factory.BackgroundCleanup();
73
73
                        USRDBG("tcpconnect::ExpireCache, nextRunTime now: " << time_nextcand);
74
74
                        break;
75
75
 
165
165
void dump_handler(int) {
166
166
        fileItemMgmt::dump_status();
167
167
        g_victor.dump_status();
168
 
        tcpconnect::dump_status();
 
168
        g_tcp_con_factory.dump_status();
169
169
        acfg::dump_trace();
170
170
}
171
171