Archived
3
0

buffer from 2K to 2M, there is room to improve performances here

This commit is contained in:
Philippe PITTOLI 2020-02-06 00:58:19 +01:00
parent 22f3a2234a
commit 9c61ea5093

View File

@ -16,7 +16,8 @@
#define RUNDIR "/run/ipc/"
#define PATH_MAX 4096
#define IPC_HEADER_SIZE 6
#define IPC_MAX_MESSAGE_SIZE 2000-IPC_HEADER_SIZE
#define __IPC_BASE_SIZE 2000000 // 2 MB, plenty enough space for messages
#define IPC_MAX_MESSAGE_SIZE __IPC_BASE_SIZE-IPC_HEADER_SIZE
#define IPC_VERSION 4