From a87a98d2fc14d627c49c94c66af72a191d07aa00 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Fri, 4 Jun 2010 20:27:22 +0000 Subject: [PATCH] change default listen() backlog from 128 to 4096 TCP connections --- src/common/slurm_protocol_common.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/common/slurm_protocol_common.h b/src/common/slurm_protocol_common.h index f5c799328c4..6fe15a41577 100644 --- a/src/common/slurm_protocol_common.h +++ b/src/common/slurm_protocol_common.h @@ -52,8 +52,10 @@ /* for sendto and recvfrom commands */ #define SLURM_PROTOCOL_NO_SEND_RECV_FLAGS 0 -/* for accpet commands */ -#define SLURM_PROTOCOL_DEFAULT_LISTEN_BACKLOG 128 +/* for listen API */ +#ifndef SLURM_PROTOCOL_DEFAULT_LISTEN_BACKLOG +#define SLURM_PROTOCOL_DEFAULT_LISTEN_BACKLOG 4096 +#endif /* used in interface methods */ #define SLURM_PROTOCOL_FUNCTION_NOT_IMPLEMENTED -2 -- GitLab