diff --git a/src/common/slurm_protocol_common.h b/src/common/slurm_protocol_common.h index f5c799328c4ccadd43e979697d21b3a48380adae..6fe15a4157770cdf7485b9b1a16a7ab703a22eaf 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