connection: Shrink buffers from 1KB to 256B each
This commit is contained in:
parent
7252558689
commit
2be0826959
2 changed files with 7 additions and 9 deletions
|
@ -4,9 +4,9 @@
|
|||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define CONNECTION_BUFFER_SIZE 1024
|
||||
#define CONNECTION_BUFFER_SIZE 256
|
||||
|
||||
#define MAX_FDS_OUT 8
|
||||
#define MAX_FDS (CONNECTION_BUFFER_SIZE / sizeof(int))
|
||||
|
||||
struct connection_buffer {
|
||||
uint32_t head, tail;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue