diff options
author | Sander Vrijders <[email protected]> | 2017-08-30 13:28:25 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-08-30 13:28:25 +0200 |
commit | 521f5f0889bf7b56ade00395e0cfc0d4727dada5 (patch) | |
tree | abb32df5638e435767f723ad044013958db0d5b6 /src/irmd/CMakeLists.txt | |
parent | 8fe0340d2117cf9b5c724ff10621978ef2bee5f1 (diff) | |
download | ouroboros-521f5f0889bf7b56ade00395e0cfc0d4727dada5.tar.gz ouroboros-521f5f0889bf7b56ade00395e0cfc0d4727dada5.zip |
irmd: Add specific timeout for IPCP connect
This adds a specific timeout for IPCP connect, since it may take a lot
longer than the regular socket timeout due to flow allocations in the
IPCP.
Diffstat (limited to 'src/irmd/CMakeLists.txt')
-rw-r--r-- | src/irmd/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irmd/CMakeLists.txt b/src/irmd/CMakeLists.txt index 3339991a..de883d63 100644 --- a/src/irmd/CMakeLists.txt +++ b/src/irmd/CMakeLists.txt @@ -18,6 +18,8 @@ set(REG_TIMEOUT 10000 CACHE STRING "Timeout for registering a name (ms)") set(QUERY_TIMEOUT 3000 CACHE STRING "Timeout to query a name with an IPCP (ms)") +set(CONNECT_TIMEOUT 5000 CACHE STRING + "Timeout to connect an IPCP to another IPCP (ms)") set(IRMD_MIN_THREADS 8 CACHE STRING "Minimum number of worker threads in the IRMd.") set(IRMD_ADD_THREADS 8 CACHE STRING |