buffer from 2K to 2M, there is room to improve performances here
This commit is contained in:
parent
22f3a2234a
commit
9c61ea5093
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user