Skip to content

Commit 5923d10

Browse files
author
Ajay Kannan
committed
Increase connect and read timeout for storage service
1 parent 5515d52 commit 5923d10

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)