“611efb3f877ed894ddbad56aa37dcab3a9e78920”上不存在“tests/script/tsim/backup/clusterSimCase/client-06.sim”
提交 f3136c33 编写于 作者: Z zhihaop

feat: enable thread local dispatcher by default

上级 323cf595
...@@ -315,7 +315,7 @@ keepColumnName 1 ...@@ -315,7 +315,7 @@ keepColumnName 1
# asyncBatchEnable 1 # asyncBatchEnable 1
# enable thread local batch dispatcher # enable thread local batch dispatcher
# asyncBatchThreadLocal 0 # asyncBatchThreadLocal 1
# taosc async insertion batch size, maximum 65535 # taosc async insertion batch size, maximum 65535
# asyncBatchSize 256 # asyncBatchSize 256
......
...@@ -133,7 +133,7 @@ int64_t tsMaxRetentWindow = 24 * 3600L; // maximum time window tolerance ...@@ -133,7 +133,7 @@ int64_t tsMaxRetentWindow = 24 * 3600L; // maximum time window tolerance
// The statements will be sent to vnodes no more than `tsAsyncBatchTimeout` milliseconds. But the actual time vnodes // The statements will be sent to vnodes no more than `tsAsyncBatchTimeout` milliseconds. But the actual time vnodes
// received the statements depends on the network quality. // received the statements depends on the network quality.
bool tsAsyncBatchEnable = true; bool tsAsyncBatchEnable = true;
bool tsAsyncBatchThreadLocal = false; // if thread local enable, each thread will allocate a dispatcher. bool tsAsyncBatchThreadLocal = true; // if thread local enable, each thread will allocate a dispatcher.
int32_t tsAsyncBatchSize = 96; int32_t tsAsyncBatchSize = 96;
int32_t tsAsyncBatchTimeout = 10; int32_t tsAsyncBatchTimeout = 10;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册