increase upload file buffer size from 16KB to 63KB

Increase UPLOAD_FILE_BUF_SIZE from 16KB to 63KB to improve
file transfer performance by reducing the number of read/write
operations and system calls during large file uploads.

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
Jianhui Zhao
2025-07-12 14:22:44 +08:00
parent a97726367a
commit 48146cd85c

View File

@@ -44,7 +44,7 @@ enum {
RTTY_FILE_MSG_ERR
};
#define UPLOAD_FILE_BUF_SIZE (1024 * 16)
#define UPLOAD_FILE_BUF_SIZE (1024 * 63)
struct file_control_msg {
int type;