commit | b413226386ed227ee5ddf3fcb8a1eb6c09922ba3 | [log] [tgz] |
---|---|---|
author | Prashanth Mundkur <prashanth.mundkur@gmail.com> | Fri Apr 15 00:28:02 2011 -0700 |
committer | Shayan Pooya <shayan@chango.com> | Sun Mar 23 17:43:09 2014 -0400 |
tree | 997076d8c50b531de59ee17b4fc56f481d3e80db | |
parent | 8eb1f220b0f3f53e9443c87b5044cba154d7aa9f [diff] |
Add a simple implementation of max connections max limits the sum of active connections and listeners. The implementation assumes that max is greater than acceptor_pool_size, and always maintains the acceptor_pool at acceptor_pool_size as long as the max is not exceeded. If max is less than acceptor_pool_size, acceptor_pool_size is the effective max.