diff --git a/nifi-daffodil-processors/src/main/java/com/owlcyberdefense/nifi/processors/AbstractDaffodilProcessor.java b/nifi-daffodil-processors/src/main/java/com/owlcyberdefense/nifi/processors/AbstractDaffodilProcessor.java index bcc618a..d40a19c 100644 --- a/nifi-daffodil-processors/src/main/java/com/owlcyberdefense/nifi/processors/AbstractDaffodilProcessor.java +++ b/nifi-daffodil-processors/src/main/java/com/owlcyberdefense/nifi/processors/AbstractDaffodilProcessor.java @@ -129,7 +129,7 @@ public abstract class AbstractDaffodilProcessor extends AbstractProcessor { public static final PropertyDescriptor CACHE_SIZE = new PropertyDescriptor.Builder() .name("cache-size") .displayName("Cache Size") - .description("Maximum number of compiled DFDL schemas to cache. Zero disables the cache.") + .description("Maximum number of compiled DFDL schemas to cache. Zero disables the cache. Restart the processor to manually empty the cache and recompile/reload schemas as needed.") .required(true) .defaultValue("50") .addValidator(StandardValidators.NON_NEGATIVE_INTEGER_VALIDATOR) @@ -138,9 +138,9 @@ public abstract class AbstractDaffodilProcessor extends AbstractProcessor { public static final PropertyDescriptor CACHE_TTL_AFTER_LAST_ACCESS = new PropertyDescriptor.Builder() .name("cache-ttl-after-last-access") .displayName("Cache TTL After Last Access") - .description("The cache TTL (time-to-live) or how long to keep compiled DFDL schemas in the cache after last access.") + .description("Defines how long keep unused compiled DFDL schemas in the cache before removing them to free memory. Defaults to '0 seconds' which means to never remove cached schemas. Restart the processor to manually empty the cache and recompile/reload schemas as needed.") .required(true) - .defaultValue("30 mins") + .defaultValue("0 seconds") .addValidator(StandardValidators.TIME_PERIOD_VALIDATOR) .build(); diff --git a/nifi-daffodil-processors/src/main/resources/docs/com.owlcyberdefense.nifi.processors.DaffodilParse/additionalDetails.html b/nifi-daffodil-processors/src/main/resources/docs/com.owlcyberdefense.nifi.processors.DaffodilParse/additionalDetails.html index f79e76e..5a613b3 100644 --- a/nifi-daffodil-processors/src/main/resources/docs/com.owlcyberdefense.nifi.processors.DaffodilParse/additionalDetails.html +++ b/nifi-daffodil-processors/src/main/resources/docs/com.owlcyberdefense.nifi.processors.DaffodilParse/additionalDetails.html @@ -139,9 +139,8 @@
For example, if a schema is used occasionally (once a day perhaps), then set this to 24 hours to @@ -150,6 +149,9 @@
+Restart the processor to manually empty the cache and recompile/reload schemas as needed. +