File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,6 @@ private AsyncPollingOptions(
29
29
) {
30
30
this .initialDelaySec = initialDelaySec == null ? 2.0 : initialDelaySec ;
31
31
this .intervalSec = intervalSec == null ? 1.5 : intervalSec ;
32
- this .maxRetries = maxRetries == null ? 30 : maxRetries ;
32
+ this .maxRetries = maxRetries == null ? 40 : maxRetries ;
33
33
}
34
34
}
Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ private <T extends Inference> AsyncPredictResponse<T> enqueueAndParse(
380
380
retryCount ++;
381
381
Thread .sleep (intervalSec );
382
382
}
383
- throw new RuntimeException ("Max retries exceeded. Failed to get the document." );
383
+ throw new RuntimeException ("Max retries exceeded: " + retryCount + " . Failed to get the document." );
384
384
}
385
385
386
386
/**
You can’t perform that action at this time.
0 commit comments