diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index f9e9911d2a..662c7243d0 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -4047,6 +4047,8 @@ bool Application::event(QEvent* event) { idle(); #ifdef DEBUG_EVENT_QUEUE_DEPTH + // The event queue may very well grow beyond 400, so + // this code should only be enabled on local builds { int count = ::hifi::qt::getEventQueueSize(QThread::currentThread()); if (count > 400) {