connection: Shrink buffers from 1KB to 256B each

This commit is contained in:
Kenny Levinsen 2020-08-01 23:09:35 +02:00
parent 7252558689
commit 2be0826959
2 changed files with 7 additions and 9 deletions

View file

@ -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;