[
https://issues.apache.org/jira/browse/MINIFI-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037821#comment-16037821
]
ASF GitHub Bot commented on MINIFI-262:
---------------------------------------
Github user phrocker commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/107#discussion_r120232599
--- Diff: libminifi/src/FlowController.cpp ---
@@ -175,7 +211,7 @@ void FlowController::stop(bool force) {
this->flow_file_repo_->stop();
this->provenance_repo_->stop();
// Wait for sometime for thread stop
- std::this_thread::sleep_for(std::chrono::milliseconds(1000));
+ std::this_thread::sleep_for(std::chrono::milliseconds(3000));
--- End diff --
That still seems arbitrary. Why were the values for the sleep chosen?
> Configuration Listener in C++ client to support C2 operations
> -------------------------------------------------------------
>
> Key: MINIFI-262
> URL: https://issues.apache.org/jira/browse/MINIFI-262
> Project: Apache NiFi MiNiFi
> Issue Type: New Feature
> Components: C++, Command and Control
> Reporter: marco polo
> Assignee: bqiu
>
> Create the concept of configuration listener support a variety of
> implementations that will restart operations for the MiNiFi C++ agent.
> The listener will implement a listener that will restart the MiNiFi process.
> MiNiFi-263 will include the work to implement the configuration listener
> interface.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)