mirror of https://mirror.osredm.com/root/redis.git
checkTcpBacklogSettings check for solaris based systems. (#10109)
This commit is contained in:
parent
98414aca7f
commit
7da7d2aa8e
|
@ -2121,6 +2121,10 @@ void checkTcpBacklogSettings(void) {
|
|||
serverLog(LL_WARNING,"WARNING: The TCP backlog setting of %d cannot be enforced because kern.somaxconn is set to the lower value of %d.", server.tcp_backlog, somaxconn);
|
||||
}
|
||||
}
|
||||
#elif defined(SOMAXCONN)
|
||||
if (SOMAXCONN < server.tcp_backlog) {
|
||||
serverLog(LL_WARNING,"WARNING: The TCP backlog setting of %d cannot be enforced because SOMAXCONN is set to the lower value of %d.", server.tcp_backlog, SOMAXCONN);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue