trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [14/28] git commit: Cleanup some dead code from Log.cc
Date Mon, 27 Jan 2014 20:41:44 GMT
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/5.0.x
Commit: 00897775dcf48740952db91f9dabfedec71e582a
Parents: 8cf2b4d
Author: Yakov Markovitch <ymarkovitch@gmail.com>
Authored: Thu Jan 23 16:20:48 2014 +0200
Committer: Uri Shachar <ushachar@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


Mime
View raw message