From 6e7793305d4ebcf154cf42ae7f6e9e17cab4e857 Mon Sep 17 00:00:00 2001 From: Pierre Villard Date: Tue, 27 Sep 2016 21:09:51 +0200 Subject: [PATCH] NIFI-2731 MergeContent default max number of flow files and max number of bins should be smaller --- .../main/java/org/apache/nifi/processor/util/bin/BinFiles.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nifi-commons/nifi-processor-utilities/src/main/java/org/apache/nifi/processor/util/bin/BinFiles.java b/nifi-commons/nifi-processor-utilities/src/main/java/org/apache/nifi/processor/util/bin/BinFiles.java index a93550dd68..ea64d87252 100644 --- a/nifi-commons/nifi-processor-utilities/src/main/java/org/apache/nifi/processor/util/bin/BinFiles.java +++ b/nifi-commons/nifi-processor-utilities/src/main/java/org/apache/nifi/processor/util/bin/BinFiles.java @@ -71,6 +71,7 @@ public abstract class BinFiles extends AbstractSessionFactoryProcessor { public static final PropertyDescriptor MAX_ENTRIES = new PropertyDescriptor.Builder() .name("Maximum Number of Entries") .description("The maximum number of files to include in a bundle. If not specified, there is no maximum.") + .defaultValue("1000") .required(false) .addValidator(StandardValidators.POSITIVE_INTEGER_VALIDATOR) .build(); @@ -78,7 +79,7 @@ public abstract class BinFiles extends AbstractSessionFactoryProcessor { public static final PropertyDescriptor MAX_BIN_COUNT = new PropertyDescriptor.Builder() .name("Maximum number of Bins") .description("Specifies the maximum number of bins that can be held in memory at any one time") - .defaultValue("100") + .defaultValue("5") .required(true) .addValidator(StandardValidators.POSITIVE_INTEGER_VALIDATOR) .build();