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

Commit

Permalink
Changing DAV blob store timeout 5s -> 5m
Browse files Browse the repository at this point in the history
  + This is a hotfix for Spring One. We should reevaluate the timeout next week.

[Fixes #103237890]

Signed-off-by: David Wadden <[email protected]>
  • Loading branch information
damon-pivotal authored and davidwadden committed Sep 11, 2015
1 parent 6432a13 commit 8e853c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ltc/blob_store/dav_blob_store/blob_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func New(config config_package.BlobStoreConfig) *BlobStore {
Host: fmt.Sprintf("%s:%s", config.Host, config.Port),
User: url.UserPassword(config.Username, config.Password),
},
Client: &http.Client{Timeout: 5 * time.Second},
Client: &http.Client{Timeout: 5 * time.Minute},
}
}

Expand Down
2 changes: 1 addition & 1 deletion ltc/blob_store/dav_blob_store/blob_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var _ = Describe("BlobStore", func() {

Describe(".New", func() {
It("creates a BlobStore with a timeout of 5 seconds", func() {
Expect(dav_blob_store.New(blobTargetInfo).Client.Timeout).To(Equal(5 * time.Second))
Expect(dav_blob_store.New(blobTargetInfo).Client.Timeout).To(Equal(5 * time.Minute))
})
})

Expand Down

0 comments on commit 8e853c4

Please sign in to comment.