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

arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 03fd2ac7c FINERACT-1942-api-graceful-shutdown
03fd2ac7c is described below

commit 03fd2ac7ceffb588390c859a7f6367aa06f55fe0
Author: Ruchi Dhamankar <[email protected]>
AuthorDate: Wed Jun 21 14:13:40 2023 +0530

    FINERACT-1942-api-graceful-shutdown
---
 fineract-provider/src/main/resources/application.properties | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/fineract-provider/src/main/resources/application.properties 
b/fineract-provider/src/main/resources/application.properties
index eaacad14f..b6e2411b4 100644
--- a/fineract-provider/src/main/resources/application.properties
+++ b/fineract-provider/src/main/resources/application.properties
@@ -159,6 +159,10 @@ server.ssl.protocol=TLS
 server.ssl.key-store=${FINERACT_SERVER_SSL_KEY_STORE:classpath:keystore.jks}
 server.ssl.key-store-password=${FINERACT_SERVER_SSL_KEY_STORE_PASSWORD:openmf}
 
+# Graceful shutdown configuration
+server.shutdown=graceful
+spring.lifecycle.timeout-per-shutdown-phase=${FINERACT_TIMEOUT_PER_SHUTDOWN:30s}
+
 server.tomcat.accept-count=${FINERACT_SERVER_TOMCAT_ACCEPT_COUNT:100}
 
server.tomcat.accesslog.enabled=${FINERACT_SERVER_TOMCAT_ACCESSLOG_ENABLED:false}
 server.tomcat.max-connections=${FINERACT_SERVER_TOMCAT_MAX_CONNECTIONS:8192}

Reply via email to