diff --git a/backends/twitter/main.cpp b/backends/twitter/main.cpp index a8b3f6873c93c6a8621ea9c16d341c2cbfd7c9b4..a9fb47d9c9803bfd1bfdfe400e91892f92cc0256 100644 --- a/backends/twitter/main.cpp +++ b/backends/twitter/main.cpp @@ -73,7 +73,7 @@ class TwitterPlugin : public NetworkPlugin { m_conn->onDataRead.connect(boost::bind(&TwitterPlugin::_handleDataRead, this, _1)); m_conn->connect(Swift::HostAddressPort(Swift::HostAddress(host), port)); - tp = new ThreadPool(10); + tp = new ThreadPool(loop_, 10); LOG4CXX_INFO(logger, "Starting the plugin."); }