Summary: This name's meaning is very obscure, this method actually sets the
queue size of each acceptor and if all acceptor's queues are full the
connection will be dropped. Change it to a more meaningful name.
Reviewed By: alandau
Differential Revision:
D2613681
fb-gh-sync-id:
baa374cdf0a87c460df3dd5687e3d755b55f4b4f
*
* Only works if called before addAcceptCallback.
*/
- void setMaxNumMessagesInQueue(uint32_t num) {
+ void setMaxNumPendingConnectionsPerWorker(uint32_t num) {
maxNumMsgsInQueue_ = num;
}