|
|
|
@ -159,7 +159,7 @@ public class UcoAccountService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private List<AccountDetail> fetchDepositAccountWithRetry(String porOrgacode, String cmpCustcode) {
|
|
|
|
private List<AccountDetail> fetchDepositAccountWithRetry(String porOrgacode, String cmpCustcode) {
|
|
|
|
int maxAttempts = 3;
|
|
|
|
int maxAttempts = 15;
|
|
|
|
int delayMs = 2000;
|
|
|
|
int delayMs = 2000;
|
|
|
|
List<AccountDetail> accounts = fetchdepositAccountFromCiihive(porOrgacode, cmpCustcode);
|
|
|
|
List<AccountDetail> accounts = fetchdepositAccountFromCiihive(porOrgacode, cmpCustcode);
|
|
|
|
for (int attempt = 1; attempt < maxAttempts && accounts.isEmpty(); attempt++) {
|
|
|
|
for (int attempt = 1; attempt < maxAttempts && accounts.isEmpty(); attempt++) {
|
|
|
|
|