summaryrefslogtreecommitdiff
path: root/service/OneService.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2018-11-11 23:03:51 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2018-11-11 23:03:51 -0800
commitb937aeb857255c44dcdd66ef0ac3aed1c843fb13 (patch)
treeb38f9f4eb0c19c14edd4f3f27b1a4d277c36d71b /service/OneService.cpp
parent1cec4b1c4c374bd50158c7de76f4531b83f618d4 (diff)
downloadinfinitytier-b937aeb857255c44dcdd66ef0ac3aed1c843fb13.tar.gz
infinitytier-b937aeb857255c44dcdd66ef0ac3aed1c843fb13.zip
cleanup
Diffstat (limited to 'service/OneService.cpp')
-rw-r--r--service/OneService.cpp5
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: