Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -441,7 +441,7 @@ public: · 440 unmodified lines | ||
| 441 | 441 | auto lastHeartbeatAge = (now > lastHeartbeat) ? now - lastHeartbeat : 0; |
| 442 | 442 | auto elapsedMovingAverage = _movingAverage.getAverage(); |
| 443 | 443 | |
| 444 | − if (elapsedMovingAverage > _maxElapsedAverage) { | |
| 444 | + if (elapsedMovingAverage > _maxElapsedAverage * 1.1f) { | |
| 445 | 445 | #if !defined(NDEBUG) |
| 446 | 446 | qCDebug(interfaceapp_deadlock) << "DEADLOCK WATCHDOG WARNING:" |
| 447 | 447 | << "lastHeartbeatAge:" << lastHeartbeatAge |