Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit 8e853c4

Browse files
damon-pivotaldavidwadden
authored andcommitted
Changing DAV blob store timeout 5s -> 5m
+ This is a hotfix for Spring One. We should reevaluate the timeout next week. [Fixes #103237890] Signed-off-by: David Wadden <[email protected]>
1 parent 6432a13 commit 8e853c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ltc/blob_store/dav_blob_store/blob_store.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func New(config config_package.BlobStoreConfig) *BlobStore {
2828
Host: fmt.Sprintf("%s:%s", config.Host, config.Port),
2929
User: url.UserPassword(config.Username, config.Password),
3030
},
31-
Client: &http.Client{Timeout: 5 * time.Second},
31+
Client: &http.Client{Timeout: 5 * time.Minute},
3232
}
3333
}
3434

ltc/blob_store/dav_blob_store/blob_store_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ var _ = Describe("BlobStore", func() {
5353

5454
Describe(".New", func() {
5555
It("creates a BlobStore with a timeout of 5 seconds", func() {
56-
Expect(dav_blob_store.New(blobTargetInfo).Client.Timeout).To(Equal(5 * time.Second))
56+
Expect(dav_blob_store.New(blobTargetInfo).Client.Timeout).To(Equal(5 * time.Minute))
5757
})
5858
})
5959

0 commit comments

Comments
 (0)