Skip to content

Commit dbcf43f

Browse files
committed
opt(trace):1.10.17, 修改trace对AsyncPipe的配置,减少写文件频次
1 parent 9d85318 commit dbcf43f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/trace/sink.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ bool Sink::enable()
106106
using namespace std::placeholders;
107107

108108
util::AsyncPipe::Config config;
109-
config.buff_size = 2048;
109+
config.buff_size = 10240;
110110
config.buff_min_num = 2;
111-
config.buff_max_num = 50;
111+
config.buff_max_num = 20;
112112
config.interval = 1000;
113113

114114
async_pipe_.initialize(config);

version.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
# TBOX版本号
2222
TBOX_VERSION_MAJOR := 1
2323
TBOX_VERSION_MINOR := 10
24-
TBOX_VERSION_REVISION := 16
24+
TBOX_VERSION_REVISION := 17

0 commit comments

Comments
 (0)