From 16811575982012a1a1a3e2077bfddfbf27dd771d Mon Sep 17 00:00:00 2001 From: Haijun Zhu Date: Fri, 20 Nov 2015 10:20:54 -0800 Subject: [PATCH] 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 --- folly/io/async/AsyncServerSocket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/io/async/AsyncServerSocket.h b/folly/io/async/AsyncServerSocket.h index 0546f54c..d423d5f3 100644 --- a/folly/io/async/AsyncServerSocket.h +++ b/folly/io/async/AsyncServerSocket.h @@ -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; } -- 2.34.1