mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-16 06:08:15 +00:00
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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user