From f5cbb45ab95db5a4bdf8f8fc1bbe687451cc125c Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 18 Aug 2014 10:13:25 -0400 Subject: [PATCH] Increase sleep/wake detection threshold... might want to switch to using native interfaces to really detect this in the future since this is not 100% reliable. --- node/Constants.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/Constants.hpp b/node/Constants.hpp index 537547127..9c55e1629 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -347,7 +347,7 @@ /** * Delay sleep overshoot for detection of a probable sleep/wake event */ -#define ZT_SLEEP_WAKE_DETECTION_THRESHOLD 2000 +#define ZT_SLEEP_WAKE_DETECTION_THRESHOLD 5000 /** * Time to pause main service loop after sleep/wake detect