You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ab...@apache.org on 2021/02/01 14:48:22 UTC

[nifi-minifi-cpp] 02/04: MINIFICPP-1466 Fine tune configuration to save system resources

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

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

commit d72a7afbf51c014de4cc289f06bc04b27b2d56ce
Author: Gabor Gyimesi <ga...@gmail.com>
AuthorDate: Mon Feb 1 12:44:19 2021 +0100

    MINIFICPP-1466 Fine tune configuration to save system resources
    
    Signed-off-by: Arpad Boda <ab...@apache.org>
    
    This closes #986
---
 conf/minifi.properties | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/conf/minifi.properties b/conf/minifi.properties
index 56113de..e5f2a1a 100644
--- a/conf/minifi.properties
+++ b/conf/minifi.properties
@@ -18,7 +18,7 @@ nifi.version=0.7.0
 nifi.flow.configuration.file=./conf/config.yml
 nifi.administrative.yield.duration=30 sec
 # If a component has no work to do (is "bored"), how long should we wait before checking again for work?
-nifi.bored.yield.duration=10 millis
+nifi.bored.yield.duration=100 millis
 
 # Provenance Repository #
 nifi.provenance.repository.directory.default=${MINIFI_HOME}/provenance_repository
@@ -26,6 +26,8 @@ nifi.provenance.repository.max.storage.time=1 MIN
 nifi.provenance.repository.max.storage.size=1 MB
 nifi.flowfile.repository.directory.default=${MINIFI_HOME}/flowfile_repository
 nifi.database.content.repository.directory.default=${MINIFI_HOME}/content_repository
+nifi.provenance.repository.class.name=NoOpRepository
+nifi.content.repository.class.name=DatabaseContentRepository
 
 #nifi.remote.input.secure=true
 #nifi.security.need.ClientAuth=
@@ -75,7 +77,7 @@ nifi.database.content.repository.directory.default=${MINIFI_HOME}/content_reposi
 #nifi.c2.rest.url.ack=
 nifi.c2.root.classes=DeviceInfoNode,AgentInformation,FlowInformation
 ## Minimize heartbeat payload size by excluding agent manifest from the heartbeat
-#nifi.c2.full.heartbeat=false
+nifi.c2.full.heartbeat=false
 ## heartbeat 4 times a second
 #nifi.c2.agent.heartbeat.period=250
 ## define parameters about your agent