diff --git a/Userland/Libraries/LibCore/EventLoopImplementationUnix.cpp b/Userland/Libraries/LibCore/EventLoopImplementationUnix.cpp index 1fe8843ce77..aabfd9b9b68 100644 --- a/Userland/Libraries/LibCore/EventLoopImplementationUnix.cpp +++ b/Userland/Libraries/LibCore/EventLoopImplementationUnix.cpp @@ -169,8 +169,6 @@ private: class EventLoopTimer final : public EventLoopTimeout { public: - static constexpr auto delay_tolerance = Duration::from_milliseconds(5); - EventLoopTimer() = default; void reload(MonotonicTime const& now) { m_fire_time = now + interval; } @@ -185,11 +183,6 @@ public: if (should_reload) { MonotonicTime next_fire_time = m_fire_time + interval; if (next_fire_time <= current_time) { - auto delay = current_time - next_fire_time; - if (delay >= delay_tolerance && !interval.is_zero()) { - auto iterations = delay.to_milliseconds() / max(1, interval.to_milliseconds()) + 1; - dbgln("Can't keep up! Skipping approximately {} iteration(s) of a reloading timer (delayed by {}ms).", iterations, delay.to_milliseconds()); - } next_fire_time = current_time + interval; } m_fire_time = next_fire_time;