get back AsyncServerSocket's setMaxNumMessagesInQueue
[folly.git] / 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;
   }