get back AsyncServerSocket's setMaxNumMessagesInQueue
authorHaijun Zhu <haijunz@fb.com>
Fri, 20 Nov 2015 18:20:54 +0000 (10:20 -0800)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Fri, 20 Nov 2015 19:20:20 +0000 (11:20 -0800)
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

folly/io/async/AsyncServerSocket.h

index 0546f54c69584faa90283e3a0efb660ee7f66894..d423d5f35b68d2b49140791675f332c42eb87c4f 100644 (file)
@@ -539,7 +539,7 @@ class AsyncServerSocket : public DelayedDestruction
    *
    * Only works if called before addAcceptCallback.
    */
-  void setMaxNumPendingConnectionsPerWorker(uint32_t num) {
+  void setMaxNumMessagesInQueue(uint32_t num) {
     maxNumMsgsInQueue_ = num;
   }