arpadboda commented on a change in pull request #721: MINIFICPP-1135 - Add a
watchdog to schedulingAgent to warn in case of…
URL: https://github.com/apache/nifi-minifi-cpp/pull/721#discussion_r374057141
##########
File path: libminifi/include/SchedulingAgent.h
##########
@@ -128,14 +133,25 @@ class SchedulingAgent {
* to be able to debug why an agent doesn't work and still allow a restart
via updates in these cases.
*/
auto csThreads = configure_->getInt(Configure::nifi_flow_engine_threads,
2);
+ alert_time_ =
std::chrono::milliseconds(configure_->getInt(Configure::nifi_flow_engine_alert_time,
SCHEDULING_WATCHDOG_ALERT_DEFAULT_PERIOD));
Review comment:
Ok, moved.
----------------------------------------------------------------
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]
With regards,
Apache Git Services