mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-22 02:16:38 +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:
parent
b7b9b9c0b7
commit
f5cbb45ab9
@ -347,7 +347,7 @@
|
|||||||
/**
|
/**
|
||||||
* Delay sleep overshoot for detection of a probable sleep/wake event
|
* 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
|
* Time to pause main service loop after sleep/wake detect
|
||||||
|
Loading…
x
Reference in New Issue
Block a user