Skip to content

Commit 89dafea

Browse files
committed
Merge pull request #241 from ajkannan/increase-storage-timeout
Increase connect and read timeout for storage service
2 parents 5515d52 + 5923d10 commit 89dafea

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

gcloud-java-storage/src/main/java/com/google/gcloud/storage/testing/RemoteGcsHelper.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ public static RemoteGcsHelper create(String projectId, String keyPath, Option...
133133
.totalRetryPeriodMillis(120000)
134134
.initialRetryDelayMillis(250)
135135
.build())
136+
.connectTimeout(60000)
137+
.readTimeout(60000)
136138
.build();
137139
return new RemoteGcsHelper(storageOptions);
138140
} catch (FileNotFoundException ex) {

0 commit comments

Comments
 (0)