added billValidate
This commit is contained in:
@@ -141,7 +141,7 @@ public class AgentServiceImpl implements AgentService {
|
|||||||
billFetchByBillIdRequest.setReqId(requestId);
|
billFetchByBillIdRequest.setReqId(requestId);
|
||||||
LOGGER.info("Waiting for 2 seconds before fetching bill by ID...");
|
LOGGER.info("Waiting for 2 seconds before fetching bill by ID...");
|
||||||
try {
|
try {
|
||||||
Thread.sleep(2000);
|
Thread.sleep(1000);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
Thread.currentThread().interrupt();
|
Thread.currentThread().interrupt();
|
||||||
LOGGER.warn("Thread interrupted during delay: {}", e.getMessage());
|
LOGGER.warn("Thread interrupted during delay: {}", e.getMessage());
|
||||||
@@ -347,7 +347,7 @@ public class AgentServiceImpl implements AgentService {
|
|||||||
billFetchByBillIdRequest.setReqId(reqId);
|
billFetchByBillIdRequest.setReqId(reqId);
|
||||||
LOGGER.info("Waiting for 2 seconds before fetching bill by ID...");
|
LOGGER.info("Waiting for 2 seconds before fetching bill by ID...");
|
||||||
try {
|
try {
|
||||||
Thread.sleep(2000);
|
Thread.sleep(1000);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
Thread.currentThread().interrupt();
|
Thread.currentThread().interrupt();
|
||||||
LOGGER.warn("Thread interrupted during delay: {}", e.getMessage());
|
LOGGER.warn("Thread interrupted during delay: {}", e.getMessage());
|
||||||
|
|||||||
Reference in New Issue
Block a user