msharee9 commented on a change in pull request #743:
URL: https://github.com/apache/nifi-minifi-cpp/pull/743#discussion_r413228089
##########
File path: libminifi/include/c2/C2Agent.h
##########
@@ -52,39 +55,28 @@ namespace c2 {
* 0 HeartBeat -- RESERVED
* 1-255 Defined by the configuration file.
*/
-class C2Agent : public state::UpdateController, public
state::response::ResponseNodeSink, public std::enable_shared_from_this<C2Agent>
{
+class C2Agent : public state::UpdateController {
public:
- C2Agent(const std::shared_ptr<core::controller::ControllerServiceProvider>
&controller, const std::shared_ptr<state::StateMonitor> &updateSink, const
std::shared_ptr<Configure> &configure);
+ C2Agent(const std::shared_ptr<core::controller::ControllerServiceProvider>
&controller,
+ const std::shared_ptr<state::StateMonitor> &updateSink,
+ const std::shared_ptr<Configure> &configure,
+ utils::ThreadPool<utils::TaskRescheduleInfo> &pool);
Review comment:
Used a separate threadpool
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]