mirror of
https://github.com/zhaojh329/rtty.git
synced 2026-02-27 09:53:17 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user