提交 a530af7b 编写于 作者: wafwerar's avatar wafwerar

fix(os): win pipe connect limit error

上级 bea8b1b4
...@@ -368,7 +368,11 @@ typedef enum ELogicConditionType { ...@@ -368,7 +368,11 @@ typedef enum ELogicConditionType {
#define PRIMARYKEY_TIMESTAMP_COL_ID 1 #define PRIMARYKEY_TIMESTAMP_COL_ID 1
#define COL_REACH_END(colId, maxColId) ((colId) > (maxColId)) #define COL_REACH_END(colId, maxColId) ((colId) > (maxColId))
#ifdef WINDOWS
#define TSDB_MAX_RPC_THREADS 4 // windows pipe only support 4 connections.
#else
#define TSDB_MAX_RPC_THREADS 5 #define TSDB_MAX_RPC_THREADS 5
#endif
#define TSDB_QUERY_TYPE_NON_TYPE 0x00u // none type #define TSDB_QUERY_TYPE_NON_TYPE 0x00u // none type
#define TSDB_QUERY_TYPE_FREE_RESOURCE 0x01u // free qhandle at vnode #define TSDB_QUERY_TYPE_FREE_RESOURCE 0x01u // free qhandle at vnode
......
...@@ -111,12 +111,10 @@ target_link_libraries (pushServer ...@@ -111,12 +111,10 @@ target_link_libraries (pushServer
) )
if(NOT TD_WINDOWS) add_test(
add_test( NAME transUT
NAME transUT COMMAND transUT
COMMAND transUT )
)
endif(NOT TD_WINDOWS)
add_test( add_test(
NAME transUtilUt NAME transUtilUt
COMMAND transportTest COMMAND transportTest
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册