I hope this becomes optional behavior if you intend to merge it. For us in production, we want for the O/S to backlog new connections when we're at capacity. The second argument to Unix.listen tells the O/S how many connections to accumulate before starting to reject them, and your use of 2 * max_connections for that seems appropriate to me.
I hope this becomes optional behavior if you intend to merge it. For us in production, we want for the O/S to backlog new connections when we're at capacity. The second argument to
Unix.listen
tells the O/S how many connections to accumulate before starting to reject them, and your use of2 * max_connections
for that seems appropriate to me.