Changed number of queueable messages to the library from 8192

to 128 messages.

(Logical change 1.58)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@199 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2004-08-23 05:24:21 +00:00
parent f6c49d8d06
commit c4523cbe19

View File

@ -48,7 +48,7 @@
/*
* Size of the queue (entries) for I/O's to the API over socket IPC.
*/
#define SIZEQUEUE 8192
#define SIZEQUEUE 128
enum socket_service_type {
SOCKET_SERVICE_INIT,
@ -89,9 +89,15 @@ struct outq_item {
#define SIZEINB MESSAGE_SIZE_MAX
enum conn_state {
CONN_STATE_ACTIVE,
CONN_STATE_DISCONNECTING,
CONN_STATE_DISCONNECTING_DELAYED
};
struct conn_info {
int fd; /* File descriptor for this connection */
int active; /* Does this file descriptor have an active connection */
enum conn_state state; /* State of this connection */
char *inb; /* Input buffer for non-blocking reads */
int inb_nextheader; /* Next message header starts here */
int inb_start; /* Start location of input buffer */