fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nazeer1100...@apache.org
Subject [08/10] incubator-fineract git commit: Correction in interest recalculation scheduler job to avoid infinite loop
Date Wed, 09 Mar 2016 10:06:37 GMT
Correction in interest recalculation scheduler job to avoid infinite loop


Project: http://git-wip-us.apache.org/repos/asf/incubator-fineract/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-fineract/commit/f4e94676
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fineract/tree/f4e94676
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fineract/diff/f4e94676

Branch: refs/heads/develop
Commit: f4e9467683d127b3246328ae7bae465dec0dc16b
Parents: fc96989
Author: Adi Narayana Raju <adi.raju@confluxtechnologies.com>
Authored: Wed Mar 2 14:27:14 2016 +0530
Committer: Adi Narayana Raju <adi.raju@confluxtechnologies.com>
Committed: Wed Mar 2 15:10:20 2016 +0530

----------------------------------------------------------------------
 .../portfolio/loanaccount/service/LoanSchedularServiceImpl.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/f4e94676/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanSchedularServiceImpl.java
----------------------------------------------------------------------
diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanSchedularServiceImpl.java
b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanSchedularServiceImpl.java
index 8c5309c..50de5d2 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanSchedularServiceImpl.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanSchedularServiceImpl.java
@@ -171,6 +171,7 @@ public class LoanSchedularServiceImpl implements LoanSchedularService
{
 								+ realCause.getMessage());
 						sb.append("Interest recalculation for loans failed for account:").append(loanId).append("
with message ")
                         .append(realCause.getMessage());
+						numberOfRetries = maxNumberOfRetries + 1;
 					}
 					i++;
 				}


Mime
View raw message