summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-08-18 10:13:25 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-08-18 10:13:25 -0400
commitf5cbb45ab95db5a4bdf8f8fc1bbe687451cc125c (patch)
treecf0f2486e73978e8735cde33503df9312024b1c4 /node
parentb7b9b9c0b79990bc1f7b17c642c7b90b8ef7e324 (diff)
downloadinfinitytier-f5cbb45ab95db5a4bdf8f8fc1bbe687451cc125c.tar.gz
infinitytier-f5cbb45ab95db5a4bdf8f8fc1bbe687451cc125c.zip
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.
Diffstat (limited to 'node')
-rw-r--r--node/Constants.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp
index 53754712..9c55e162 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