codemod setMaxNumMessagesInQueue to setMaxNumPendingConnectionsPerWorker
authorHaijun Zhu <haijunz@fb.com>
Thu, 5 Nov 2015 18:36:46 +0000 (10:36 -0800)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Thu, 5 Nov 2015 19:20:24 +0000 (11:20 -0800)
commit131db1206830ee07ef89bceb41c1f3c598764685
treeb8a92676ad4973750f5bdfda1b7469f01ce4f8d5
parenta166df2162cab3d8c29e97947c2afc4e12f553d0
codemod setMaxNumMessagesInQueue to setMaxNumPendingConnectionsPerWorker

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
folly/io/async/AsyncServerSocket.h