client: increase send_buf from 4kB to 16kB
this greatly improves performance of commands that return a lot of data, e.g. search results or recursive content of a directory, while being connected to local mpd via tcp/ip socket.
This commit is contained in:
parent
9fb26b5617
commit
4347114455
@ -55,7 +55,7 @@ struct client {
|
|||||||
size_t deferred_bytes; /* mem deferred_send consumes */
|
size_t deferred_bytes; /* mem deferred_send consumes */
|
||||||
unsigned int num; /* client number */
|
unsigned int num; /* client number */
|
||||||
|
|
||||||
char send_buf[4096];
|
char send_buf[16384];
|
||||||
size_t send_buf_used; /* bytes used this instance */
|
size_t send_buf_used; /* bytes used this instance */
|
||||||
|
|
||||||
/** is this client waiting for an "idle" response? */
|
/** is this client waiting for an "idle" response? */
|
||||||
|
Loading…
Reference in New Issue
Block a user