summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: