SUPPORT-8597: fix sleep

This commit is contained in:
gulnaz 2024-10-16 10:05:51 +03:00
parent 7b9c8b5822
commit 5209098ac5

View file

@ -88,8 +88,7 @@ public class ReceiveScanReportRetryable {
// waiting for timeout time before first request // waiting for timeout time before first request
try { try {
TimeUnit.MILLISECONDS.sleep( TimeUnit.MILLISECONDS.sleep(avFirstTimeoutMilliseconds);
avFirstTimeoutMilliseconds == null ? 1000L : avFirstTimeoutMilliseconds);
} }
catch (InterruptedException e) { catch (InterruptedException e) {
throw new FileUploadException(e); throw new FileUploadException(e);