From: Haijun Zhu Date: Fri, 20 Nov 2015 18:20:54 +0000 (-0800) Subject: get back AsyncServerSocket's setMaxNumMessagesInQueue X-Git-Tag: deprecate-dynamic-initializer~244 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=16811575982012a1a1a3e2077bfddfbf27dd771d;p=folly.git 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 --- 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; }