diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-02 08:44:30 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-02 08:44:30 -0500 |
commit | 6f16b7ffd45d933e8ad6916d5bad17140384e69c (patch) | |
tree | 3528e68a84481ce52696f6361141b6bbd1f2112f /gps | |
parent | 946117e9370de0d85411964913ab1e73cb355fcd (diff) | |
download | gpsd-6f16b7ffd45d933e8ad6916d5bad17140384e69c.tar.gz |
gpsfake delays are no longer becessary under Linux, and possibly not elsewhere.
All regression tests pass.
Diffstat (limited to 'gps')
-rw-r--r-- | gps/fake.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gps/fake.py b/gps/fake.py index 6b2a5a5d..b4115ef6 100644 --- a/gps/fake.py +++ b/gps/fake.py @@ -94,8 +94,7 @@ import packet as sniffer # Field reports on minima: # # Eric Raymond runningLinux 3.16.0 on a Xeon CPU E5-1650 v3 @ 3.50GHz -# WRITE_PAD = 0.0 / CLOSE_DELAY = 0.1 Hangs -# WRITE_PAD = 0.00001 / CLOSE_DELAY = 0.02 Works, 462sec +# WRITE_PAD = 0.0 / CLOSE_DELAY = 0.0 Works, 462sec # # Those below have not been updated since we switched to using blocking I/O, # for gpsd's ttys, which increases the required delays. @@ -139,8 +138,8 @@ import packet as sniffer # examples are "# sys.platform platform.platform()" if sys.platform.startswith("linux"): - WRITE_PAD = 0.00001 - CLOSE_DELAY = 0.02 + WRITE_PAD = 0.0 + CLOSE_DELAY = 0.0 elif sys.platform.startswith("freebsd"): WRITE_PAD = 0.001 CLOSE_DELAY = 0.4 |