This is an automated email from the ASF dual-hosted git repository.

aboda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git


The following commit(s) were added to refs/heads/master by this push:
     new 5850c1d  MINIFICPP-1060 - Fixed performance problem.
5850c1d is described below

commit 5850c1d1edc2a95fa1308b5d2663088fdba9e5e4
Author: amarmer <amarmer@AMARMER-5530-85>
AuthorDate: Wed Oct 9 13:45:28 2019 -0700

    MINIFICPP-1060 - Fixed performance problem.
    
    Signed-off-by: Arpad Boda <[email protected]>
    
    This closes #662
---
 extensions/windows-event-log/ConsumeWindowsEventLog.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/extensions/windows-event-log/ConsumeWindowsEventLog.cpp 
b/extensions/windows-event-log/ConsumeWindowsEventLog.cpp
index 3a37033..09154ae 100644
--- a/extensions/windows-event-log/ConsumeWindowsEventLog.cpp
+++ b/extensions/windows-event-log/ConsumeWindowsEventLog.cpp
@@ -387,7 +387,7 @@ int ConsumeWindowsEventLog::processQueue(const 
std::shared_ptr<core::ProcessSess
   };
 
   int flowFileCount = 0;
- 
+
   EventRender evt;
   while (listRenderedData_.try_dequeue(evt)) {
     auto flowFile = session->create();
@@ -408,7 +408,6 @@ int ConsumeWindowsEventLog::processQueue(const 
std::shared_ptr<core::ProcessSess
     session->putAttribute(flowFile, FlowAttributeKey(MIME_TYPE), "text/plain");
     session->getProvenanceReporter()->receive(flowFile, provenanceUri_, 
getUUIDStr(), "Consume windows event logs", 0);
     session->transfer(flowFile, Success);
-    session->commit();
 
     flowFileCount++;
   }

Reply via email to