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

pvillard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 25918a7e9c NIFI-14396 Fixed Default Value for 
security.autoreload.interval
25918a7e9c is described below

commit 25918a7e9ce9067aeb1bee45e0609dcec6c2de4f
Author: exceptionfactory <[email protected]>
AuthorDate: Fri Mar 28 14:53:25 2025 -0500

    NIFI-14396 Fixed Default Value for security.autoreload.interval
    
    Signed-off-by: Pierre Villard <[email protected]>
    
    This closes #9826.
---
 .../apache/nifi/framework/configuration/SslContextConfiguration.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/framework/configuration/SslContextConfiguration.java
 
b/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/framework/configuration/SslContextConfiguration.java
index bb6905f1ca..85a14f5462 100644
--- 
a/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/framework/configuration/SslContextConfiguration.java
+++ 
b/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/framework/configuration/SslContextConfiguration.java
@@ -104,7 +104,7 @@ public class SslContextConfiguration {
         final WatchServiceMonitorCommand command;
 
         if (isReloadEnabled()) {
-            final String reloadIntervalProperty = 
properties.getProperty(SECURITY_AUTO_RELOAD_INTERVAL);
+            final String reloadIntervalProperty = 
properties.getProperty(SECURITY_AUTO_RELOAD_INTERVAL, 
NiFiProperties.DEFAULT_SECURITY_AUTO_RELOAD_INTERVAL);
             final long reloadIntervalSeconds = 
Math.round(FormatUtils.getPreciseTimeDuration(reloadIntervalProperty, 
TimeUnit.SECONDS));
             final Duration reloadDuration = 
Duration.ofSeconds(reloadIntervalSeconds);
 

Reply via email to