mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
Wait 10m for DEBUG deadlocks
This commit is contained in:
parent
975f0f049c
commit
21719b3980
1 changed files with 4 additions and 0 deletions
|
@ -239,7 +239,11 @@ class DeadlockWatchdogThread : public QThread {
|
|||
public:
|
||||
static const unsigned long HEARTBEAT_CHECK_INTERVAL_SECS = 1;
|
||||
static const unsigned long HEARTBEAT_UPDATE_INTERVAL_SECS = 1;
|
||||
#ifdef DEBUG
|
||||
static const unsigned long MAX_HEARTBEAT_AGE_USECS = 600 * USECS_PER_SECOND;
|
||||
#else
|
||||
static const unsigned long MAX_HEARTBEAT_AGE_USECS = 10 * USECS_PER_SECOND;
|
||||
#endif
|
||||
|
||||
// Set the heartbeat on launch
|
||||
DeadlockWatchdogThread() {
|
||||
|
|
Loading…
Reference in a new issue