Commit 131db120 authored by Haijun Zhu's avatar Haijun Zhu Committed by facebook-github-bot-4

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
parent a166df21
......@@ -539,7 +539,7 @@ class AsyncServerSocket : public DelayedDestruction
*
* Only works if called before addAcceptCallback.
*/
void setMaxNumMessagesInQueue(uint32_t num) {
void setMaxNumPendingConnectionsPerWorker(uint32_t num) {
maxNumMsgsInQueue_ = num;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment