mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-05 14:05:27 +02:00
Merge pull request #288 from overte-org/fix/watchdog_max_average
Make NEW MAX ELAPSED AVERAGE trigger less sensitive
This commit is contained in:
commit
743c467d07
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue