From 1807488d926a936f69ffafc8d6d1c99983dc7b89 Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Tue, 3 Jan 2017 09:39:23 -0800 Subject: [PATCH] Kill a dead constant in EventBase Summary: It's only accessible within EventBase, and is never used. Reviewed By: yfeldblum Differential Revision: D4375541 fbshipit-source-id: a0c6d86a2b1968c37c67303c8411a23ed936d9d5 --- folly/io/async/EventBase.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/folly/io/async/EventBase.h b/folly/io/async/EventBase.h index 922effdb..5075ca90 100644 --- a/folly/io/async/EventBase.h +++ b/folly/io/async/EventBase.h @@ -719,10 +719,6 @@ class EventBase : private boost::noncopyable, // be supported: avg loop time, observer and max latency. const bool enableTimeMeasurement_; - // we'll wait this long before running deferred callbacks if the event - // loop is idle. - static const int kDEFAULT_IDLE_WAIT_USEC = 20000; // 20ms - // Wrap-around loop counter to detect beginning of each loop uint64_t nextLoopCnt_; uint64_t latestLoopCnt_; -- 2.34.1