History

Make NEW MAX ELAPSED AVERAGE trigger less sensitive

ksuprynowicz committed 3 years ago

Commit cbf9c201 parent 61fa1641 file · +1 −1Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+1−1
@@ -441,7 +441,7 @@ public: · 440 unmodified lines
441441 auto lastHeartbeatAge = (now > lastHeartbeat) ? now - lastHeartbeat : 0;
442442 auto elapsedMovingAverage = _movingAverage.getAverage();
443443
444− if (elapsedMovingAverage > _maxElapsedAverage) {
444+ if (elapsedMovingAverage > _maxElapsedAverage * 1.1f) {
445445 #if !defined(NDEBUG)
446446 qCDebug(interfaceapp_deadlock) << "DEADLOCK WATCHDOG WARNING:"
447447 << "lastHeartbeatAge:" << lastHeartbeatAge