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

get back AsyncServerSocket's setMaxNumMessagesInQueue

Summary: D2613681 codemod'ed a thrift server api but it also renamed that api
in AsyncServerSocket, which is a mistake. Fix that in AsyncServerSocket, and
all other places that calls this api.

Reviewed By: alandau, JoelMarcey

Differential Revision: D2677837

fb-gh-sync-id: 0d91f1a623229e99be59ca9dcd27f1330a9a1b64
parent 422bf874
...@@ -539,7 +539,7 @@ class AsyncServerSocket : public DelayedDestruction ...@@ -539,7 +539,7 @@ class AsyncServerSocket : public DelayedDestruction
* *
* Only works if called before addAcceptCallback. * Only works if called before addAcceptCallback.
*/ */
void setMaxNumPendingConnectionsPerWorker(uint32_t num) { void setMaxNumMessagesInQueue(uint32_t num) {
maxNumMsgsInQueue_ = 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