Skip to content

Commit 8b87572

Browse files
Added more logging
1 parent 97d5050 commit 8b87572

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/BzstDipClient.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,10 @@ private BzstDipRequestStatusResult queryDipResultWithRetry(
263263
{
264264
if(retryCounter != 0)
265265
{
266-
Thread.sleep(this.configuration.getQueryResultConfiguration().delayInBetweenResultChecks().toMillis());
266+
final long delayInMilliseconds =
267+
this.configuration.getQueryResultConfiguration().delayInBetweenResultChecks().toMillis();
268+
LOGGER.debug("Waiting {}ms for next query...", delayInMilliseconds);
269+
Thread.sleep(delayInMilliseconds);
267270
}
268271
requestStatusResult = webClient.readAndConfirmDataTransferNumbers();
269272
retryCounter++;

0 commit comments

Comments
 (0)