Skip to content

Commit 5b59822

Browse files
committed
fixup! Add GoogleFetcher
1 parent 4b627c7 commit 5b59822

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tika-pipes/tika-fetchers/tika-fetcher-google/src/main/java/org/apache/tika/pipes/fetchers/google/config/GoogleDriveFetcherConfig.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ public GoogleDriveFetcherConfig setSpoolToTemp(boolean spoolToTemp) {
3838
}
3939

4040
public long[] getThrottleSeconds() {
41+
if (throttleSeconds == null) {
42+
return new long[]{5, 10, 15}; // Default retry intervals
43+
}
4144
return throttleSeconds;
4245
}
4346

0 commit comments

Comments
 (0)