You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ad...@apache.org on 2026/03/02 09:36:12 UTC

(fineract) branch develop updated: FINERACT-2507: Reduced default poll interval for Loan COB Spring Job from 10s to 500ms

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

adamsaghy 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 e6e5a4b6ee FINERACT-2507: Reduced default poll interval for Loan COB Spring Job from 10s to 500ms
e6e5a4b6ee is described below

commit e6e5a4b6eec5a33d327546c640e6b7f281b5ae42
Author: Piotr Wargulak <pw...@soldevelo.com>
AuthorDate: Thu Feb 26 16:26:42 2026 +0100

    FINERACT-2507: Reduced default poll interval for Loan COB Spring Job from 10s to 500ms
    
    The poll interval controls how often the spring job manager checks for partition step completion. Therefore, it also defines minimal execution time. The lower value makes the check happen more often, which may put pressure on DB.
---
 fineract-provider/src/main/resources/application.properties      | 2 +-
 fineract-provider/src/test/resources/application-test.properties | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fineract-provider/src/main/resources/application.properties b/fineract-provider/src/main/resources/application.properties
index 671f2373df..02d0325ba3 100644
--- a/fineract-provider/src/main/resources/application.properties
+++ b/fineract-provider/src/main/resources/application.properties
@@ -92,7 +92,7 @@ fineract.partitioned-job.partitioned-job-properties[0].thread-pool-core-pool-siz
 fineract.partitioned-job.partitioned-job-properties[0].thread-pool-max-pool-size=${LOAN_COB_THREAD_POOL_MAX_POOL_SIZE:5}
 fineract.partitioned-job.partitioned-job-properties[0].thread-pool-queue-capacity=${LOAN_COB_THREAD_POOL_QUEUE_CAPACITY:20}
 fineract.partitioned-job.partitioned-job-properties[0].retry-limit=${LOAN_COB_RETRY_LIMIT:5}
-fineract.partitioned-job.partitioned-job-properties[0].poll-interval=${LOAN_COB_POLL_INTERVAL:10000}
+fineract.partitioned-job.partitioned-job-properties[0].poll-interval=${LOAN_COB_POLL_INTERVAL:500}
 
 fineract.remote-job-message-handler.spring-events.enabled=${FINERACT_REMOTE_JOB_MESSAGE_HANDLER_SPRING_EVENTS_ENABLED:true}
 fineract.remote-job-message-handler.jms.enabled=${FINERACT_REMOTE_JOB_MESSAGE_HANDLER_JMS_ENABLED:false}
diff --git a/fineract-provider/src/test/resources/application-test.properties b/fineract-provider/src/test/resources/application-test.properties
index 541be16325..11f23fc38c 100644
--- a/fineract-provider/src/test/resources/application-test.properties
+++ b/fineract-provider/src/test/resources/application-test.properties
@@ -56,7 +56,7 @@ fineract.partitioned-job.partitioned-job-properties[0].thread-pool-core-pool-siz
 fineract.partitioned-job.partitioned-job-properties[0].thread-pool-max-pool-size=1
 fineract.partitioned-job.partitioned-job-properties[0].thread-pool-queue-capacity=1
 fineract.partitioned-job.partitioned-job-properties[0].retry-limit=5
-fineract.partitioned-job.partitioned-job-properties[0].poll-interval=10000
+fineract.partitioned-job.partitioned-job-properties[0].poll-interval=500
 
 fineract.remote-job-message-handler.spring-events.enabled=${FINERACT_REMOTE_JOB_MESSAGE_HANDLER_SPRING_EVENTS_ENABLED:true}
 fineract.remote-job-message-handler.jms.enabled=${FINERACT_REMOTE_JOB_MESSAGE_HANDLER_JMS_ENABLED:false}