You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by us...@apache.org on 2014/01/23 15:31:01 UTC

git commit: Cleanup some dead code from Log.cc

Updated Branches:
  refs/heads/master 8cf2b4d7c -> 00897775d


Cleanup some dead code from Log.cc


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/00897775
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/00897775
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/00897775

Branch: refs/heads/master
Commit: 00897775dcf48740952db91f9dabfedec71e582a
Parents: 8cf2b4d
Author: Yakov Markovitch <ym...@gmail.com>
Authored: Thu Jan 23 16:20:48 2014 +0200
Committer: Uri Shachar <us...@apache.org>
Committed: Thu Jan 23 16:20:48 2014 +0200

----------------------------------------------------------------------
 proxy/logging/Log.cc | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/00897775/proxy/logging/Log.cc
----------------------------------------------------------------------
diff --git a/proxy/logging/Log.cc b/proxy/logging/Log.cc
index 6a64ce7..6f326c9 100644
--- a/proxy/logging/Log.cc
+++ b/proxy/logging/Log.cc
@@ -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
@@ -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