Kill a dead constant in EventBase
authorChristopher Dykes <cdykes@fb.com>
Tue, 3 Jan 2017 17:39:23 +0000 (09:39 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 3 Jan 2017 17:47:57 +0000 (09:47 -0800)
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

index 922effdb983925d0f5e86d15f25f0b8653697a7e..5075ca9063c9791296c713cf8b185d2779fe41e2 100644 (file)
@@ -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_;