diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2018-11-11 23:03:51 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2018-11-11 23:03:51 -0800 |
commit | b937aeb857255c44dcdd66ef0ac3aed1c843fb13 (patch) | |
tree | b38f9f4eb0c19c14edd4f3f27b1a4d277c36d71b /service/OneService.cpp | |
parent | 1cec4b1c4c374bd50158c7de76f4531b83f618d4 (diff) | |
download | infinitytier-b937aeb857255c44dcdd66ef0ac3aed1c843fb13.tar.gz infinitytier-b937aeb857255c44dcdd66ef0ac3aed1c843fb13.zip |
cleanup
Diffstat (limited to 'service/OneService.cpp')
-rw-r--r-- | service/OneService.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index f970c674..effe90c2 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -174,6 +174,9 @@ namespace ZeroTier { typedef BSDEthernetTap EthernetTap; } // TCP activity timeout #define ZT_TCP_ACTIVITY_TIMEOUT 60000 +// Number of receive path threads to start +#define ZT_INCOMING_PACKET_THREAD_POOL_SIZE 8 + #if ZT_VAULT_SUPPORT size_t curlResponseWrite(void *ptr, size_t size, size_t nmemb, std::string *data) { @@ -437,8 +440,6 @@ struct TcpConnection Mutex writeq_m; }; -#define ZT_INCOMING_PACKET_THREAD_POOL_SIZE 8 - class OneServiceImpl : public OneService { public: |