Skip to content

Commit 680bf54

Browse files
committed
feat: 增加缓冲区长度至8192字节以优化性能
1 parent 6370666 commit 680bf54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ See the Mulan PSL v2 for more details. */
1515
#include <cstdint>
1616
#include <string>
1717

18-
#define BUFFER_LENGTH 1024
18+
#define BUFFER_LENGTH 8192
1919

2020
/** Cycle detection is performed every CYCLE_DETECTION_INTERVAL milliseconds. */
2121
extern std::chrono::milliseconds cycle_detection_interval;

0 commit comments

Comments
 (0)