From issues-return-91370-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Mon Feb 3 10:57:52 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 6A7CF180647 for ; Mon, 3 Feb 2020 11:57:52 +0100 (CET) Received: (qmail 39124 invoked by uid 500); 3 Feb 2020 10:57:51 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 39115 invoked by uid 99); 3 Feb 2020 10:57:51 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2020 10:57:51 +0000 From: GitBox To: issues@nifi.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bnifi-minifi-cpp=5D_szaszm_commented_on_a_change?= =?utf-8?q?_in_pull_request_=23721=3A_MINIFICPP-1135_-_Add_a_watchdog_to_s?= =?utf-8?q?chedulingAgent_to_warn_in_case_of=E2=80=A6?= Message-ID: <158072747174.20197.8510443754458164619.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Mon, 03 Feb 2020 10:57:51 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit szaszm 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_r374038918 ########## File path: libminifi/include/SchedulingAgent.h ########## @@ -190,11 +207,27 @@ class SchedulingAgent { std::shared_ptr controller_service_provider_; private: + struct SchedulingInfo { + std::chrono::time_point start_time_ = std::chrono::steady_clock::now(); + mutable std::chrono::time_point last_alert_time_ = std::chrono::steady_clock::now(); Review comment: ok, thanks ---------------------------------------------------------------- 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: users@infra.apache.org With regards, Apache Git Services