summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2018-12-27 18:29:36 -0800
committerFred Wright <fw@fwright.net>2018-12-27 20:35:21 -0800
commit820594a2977f42739dbca9c25975598a3659b743 (patch)
treee00c7117ff1c56051a41f119b8dd66b19ef904f0
parent1f93eeef780240d68c4d6a6d503a296ce4237314 (diff)
downloadgpsd-820594a2977f42739dbca9c25975598a3659b743.tar.gz
Decreases OSX Write_PAD.
Although there doesn't seem to be any WRITE_PAD value that's 100% reliable, 5ms is usually adequately generous for OSX, and is the override value currently used by MacPorts. The current default 30ms makes some tests way too slow. TESTED: Tests pass on OSX 10.5-10.13.
-rw-r--r--gps/fake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps/fake.py b/gps/fake.py
index c7b6f87d..1d243da2 100644
--- a/gps/fake.py
+++ b/gps/fake.py
@@ -108,7 +108,7 @@ elif sys.platform.startswith("netbsd"):
WRITE_PAD = 0.004
elif sys.platform.startswith("darwin"):
# darwin Darwin-13.4.0-x86_64-i386-64bit
- WRITE_PAD = 0.03
+ WRITE_PAD = 0.005
else:
WRITE_PAD = 0.004