From cbf9c203315e2fe3eff579e3068cd0eee0906cff Mon Sep 17 00:00:00 2001 From: ksuprynowicz Date: Fri, 16 Dec 2022 08:52:40 +0100 Subject: [PATCH] Make NEW MAX ELAPSED AVERAGE trigger less sensitive --- interface/src/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index cee07a2df4..85a1df5608 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -441,7 +441,7 @@ public: auto lastHeartbeatAge = (now > lastHeartbeat) ? now - lastHeartbeat : 0; auto elapsedMovingAverage = _movingAverage.getAverage(); - if (elapsedMovingAverage > _maxElapsedAverage) { + if (elapsedMovingAverage > _maxElapsedAverage * 1.1f) { #if !defined(NDEBUG) qCDebug(interfaceapp_deadlock) << "DEADLOCK WATCHDOG WARNING:" << "lastHeartbeatAge:" << lastHeartbeatAge