Skip to content

Commit

Permalink
Merge pull request #241 from ajkannan/increase-storage-timeout
Browse files Browse the repository at this point in the history
Increase connect and read timeout for storage service
  • Loading branch information
aozarov committed Oct 9, 2015
2 parents 5515d52 + 5923d10 commit 89dafea
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ public static RemoteGcsHelper create(String projectId, String keyPath, Option...
.totalRetryPeriodMillis(120000)
.initialRetryDelayMillis(250)
.build())
.connectTimeout(60000)
.readTimeout(60000)
.build();
return new RemoteGcsHelper(storageOptions);
} catch (FileNotFoundException ex) {
Expand Down

0 comments on commit 89dafea

Please sign in to comment.