diff options
author | Steven Koo <steven.koo@ni.com> | 2020-08-05 16:15:56 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-08-12 07:13:04 -0500 |
commit | c4216a079bfcc3dfa59166c86325d1410b5af2f2 (patch) | |
tree | 752888f539db9d6ba7ddf7548dd401c6c3c77352 | |
parent | 552b17c0de2645489caf97fc9e1ca491afc9cd46 (diff) | |
download | uhd-c4216a079bfcc3dfa59166c86325d1410b5af2f2.tar.gz uhd-c4216a079bfcc3dfa59166c86325d1410b5af2f2.tar.bz2 uhd-c4216a079bfcc3dfa59166c86325d1410b5af2f2.zip |
rfnoc: Increase ctrlport_endpoint default timeout
The .1 second timeout fails on macOS. Expand this timeout to 1 second.
-rw-r--r-- | host/lib/rfnoc/ctrlport_endpoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/ctrlport_endpoint.cpp b/host/lib/rfnoc/ctrlport_endpoint.cpp index e4f256d91..21a07b0d6 100644 --- a/host/lib/rfnoc/ctrlport_endpoint.cpp +++ b/host/lib/rfnoc/ctrlport_endpoint.cpp @@ -28,7 +28,7 @@ namespace { //! Max async msg (CTRL_WRITE) size in 32-bit words (2 hdr, 2 TS, 1 op-word, 1 data) constexpr size_t ASYNC_MESSAGE_SIZE = 6; //! Default completion timeout for transactions -constexpr double DEFAULT_TIMEOUT = 0.1; +constexpr double DEFAULT_TIMEOUT = 1.0; //! Long timeout for when we wait on a timed command constexpr double MASSIVE_TIMEOUT = 10.0; //! Default value for whether ACKs are always required |