From 21719b3980a34f9c7eaaa20948fe96bce07d4748 Mon Sep 17 00:00:00 2001 From: Zach Pomerantz Date: Wed, 9 Mar 2016 13:44:46 -0800 Subject: [PATCH] Wait 10m for DEBUG deadlocks --- interface/src/Application.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index ab1a326698..f84a60a332 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -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() {