Skip to content

Commit

Permalink
Cleanup some dead code from Log.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
ymarkovitch authored and ushachar committed Jan 23, 2014
1 parent 8cf2b4d commit 0089777
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions proxy/logging/Log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@

#include "ink_apidefs.h"

#define FLUSH_THREAD_SLEEP_TIMEOUT (1)
#define FLUSH_THREAD_MIN_FLUSH_COUNTER (FLUSH_ARRAY_SIZE/4)
#define PERIODIC_TASKS_INTERVAL 5 // TODO: Maybe this should be done as a config option

// Log global objects
Expand Down Expand Up @@ -945,10 +943,8 @@ Log::init(int flags)
//
create_threads();

#ifndef INK_SINGLE_THREADED
eventProcessor.schedule_every(NEW (new PeriodicWakeup(collation_preproc_threads, 1)),
HRTIME_SECOND, ET_CALL);
#endif
init_status |= PERIODIC_WAKEUP_SCHEDULED;

// Clear any stat values that need to be reset on startup
Expand Down

0 comments on commit 0089777

Please sign in to comment.